Skip to content

chore(deps-dev): bump pytest-asyncio from 0.25.2 to 0.25.3 #334

chore(deps-dev): bump pytest-asyncio from 0.25.2 to 0.25.3

chore(deps-dev): bump pytest-asyncio from 0.25.2 to 0.25.3 #334

Workflow file for this run

name: CI
"on":
push:
pull_request:
types: [opened, reopened]
env:
MODULE_NAME: app # Edit the name of the module here
MIN_TEST_COV: 0 # Edit your min coverage here
jobs:
CI:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U poetry
- name: Setup poetry
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run lint
if: always()
run: |
poetry run yamllint --version
poetry run yamllint . -s
poetry run mdformat --version
poetry run mdformat .
poetry run black --version
poetry run black $MODULE_NAME tests
poetry run ruff --version
poetry run ruff check $MODULE_NAME tests
poetry run mypy --version
poetry run mypy $MODULE_NAME tests
- name: Run tests
run: |
poetry run pytest --cov=$MODULE_NAME --cov-report=xml --cov-fail-under=$MIN_TEST_COV tests/unit
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: ./coverage.xml
# flags: unittests