Skip to content

Commit

Permalink
Upgrade github-actions (#45)
Browse files Browse the repository at this point in the history
* upgrade to codecov-v3

* Upgrade setup-python and checkout to their v3

* setup-python@v4
  • Loading branch information
qgallouedec authored Dec 7, 2022
1 parent 09ecfb6 commit eea437f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
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
Expand All @@ -24,17 +24,20 @@ jobs:
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
directory: ./coverage/reports/
env_vars: ${{ matrix.os }}, ${{ matrix.python-version }}
fail_ci_if_error: true
files: ./coverage.xml
name: codecov-umbrella
verbose: true
codestyle_type_and_doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
Expand Down

0 comments on commit eea437f

Please sign in to comment.