Skip to content

add stdenv lib needed to locate libstdc++.so.6 in github actions #13

add stdenv lib needed to locate libstdc++.so.6 in github actions

add stdenv lib needed to locate libstdc++.so.6 in github actions #13

Workflow file for this run

name: "Test and Build"
on: [push]
env:
DEV_SHELL_NAME: CI
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Setup env"
uses: JRMurr/[email protected]
- name: "Load cached venv"
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/flake.lock') }}-${{ hashFiles('**/poetry.lock') }}
- name: "Install python dependencies"
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
shell: bash
- name: "Test"
run: poetry run python -m unittest tests/recognizer/flair_recognizer_test.py
shell: bash