Skip to content

Commit

Permalink
Merge pull request #574 from pytest-dev/update-ci
Browse files Browse the repository at this point in the history
Update pythons, pytests, CI
  • Loading branch information
youtux committed Nov 5, 2022
2 parents 2a649af + ca2ade7 commit ef05a54
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 177 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,30 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools
pip install tox tox-gh-actions codecov
pip install tox tox-gh-actions coverage[toml]
- name: Type checking
continue-on-error: true
run: |
tox -e mypy
- name: Test with tox
run: |
coverage erase
tox
codecov
coverage combine
coverage xml
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true # optional (default = false)

0 comments on commit ef05a54

Please sign in to comment.