Bump black from 23.12.1 to 24.10.0 #231
Workflow file for this run
This file contains 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: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10.9 | |
- name: Install poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: 1.8.4 | |
- name: Set Poetry config | |
run: | | |
poetry config virtualenvs.create false | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Code Quality | |
run: | | |
make check | |
- name: Run test cases | |
run: | | |
make test | |
- name: Upload coverage reports | |
id: upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage-reports | |
path: | | |
coverage.xml | |
htmlcov/ | |