chore(deps): update dependency pytest-asyncio to ^0.24.0 #446
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| id: setup-python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: '3.11.3' | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| installer-parallel: true | |
| - name: Load cached venv | |
| id: cached-poetry-dependencies | |
| uses: actions/cache@v2 | |
| with: | |
| path: .venv | |
| key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} | |
| - run: poetry install --no-interaction | |
| - name: Install dependencies | |
| run: poetry install -E regular --no-interaction --no-root | |
| - name: check style | |
| run: poetry run black . --check | |
| - name: run tests | |
| # Only run tests for skillsnetwork since cv studio tests not working from CI | |
| run: poetry run pytest tests/ -k 'test_skillsnetwork.py' |