Bump griffe from 0.39.1 to 0.43.0 #91
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: Pytest | |
on: | |
pull_request: | |
branches: ["master", "main", "dev"] | |
paths-ignore: ["docs/**"] | |
push: | |
branches: ["master", "main", "dev"] | |
paths-ignore: ["docs/**"] | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code Repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
# Consider using pre-commit.ci for open source project | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Checkout Code Repository | |
uses: actions/checkout@v4 | |
- name: Install requirements | |
run: | | |
pip install -U pip | |
pip install poetry | |
poetry install | |
- name: Run tests and collect coverage | |
run: poetry run pytest --cov=./ --cov-report=xml | |
- name: Upload coverage reports to Codecov with GitHub Action | |
uses: codecov/codecov-action@v4 | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |