name: Pytest on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.10"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install Poetry run: curl -sSL https://install.python-poetry.org | python3 - - name: Install dependencies run: poetry install --with dev - name: Set PYTHONPATH run: echo "PYTHONPATH=$PWD" >> $GITHUB_ENV - name: Run pytest run: poetry run pytest ./tests -v -m "not slow"