8000 blurb: Add tests and run on CI by hugovk · Pull Request #520 · python/core-workflow · GitHub
[go: up one dir, main page]

Skip to content

blurb: Add tests and run on CI #520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 15, 2024
Prev Previous commit
Next Next commit
Test on Python 3.12
  • Loading branch information
hugovk committed Dec 18, 2023
commit 199c01fda9e487190a62b4e67e8253b7de4f42a2
7 changes: 2 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
name: ${{ matrix.python-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
cache-dependency-path: ".github/workflows/tests.yml"
- name: setup
Expand All @@ -33,13 +34,9 @@ jobs:
run: |
blurb test
- name: pytest
# TODO Pending https://github.com/pytest-dev/pyfakefs/issues/770
if: matrix.python-version != '3.12-dev'
run: |
python -I -m pytest --cov blurb
- name: Upload coverage
# TODO Pending https://github.com/pytest-dev/pyfakefs/issues/770
if: matrix.python-version != '3.12-dev'
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.python-version }}
Expand Down
0