Skip to content

Commit

Permalink
[CI] update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zeehio committed Aug 17, 2023
1 parent 9e0b0f0 commit 1feb8e5
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,24 @@ jobs:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v1
- 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 tox tox-gh-actions
python -m pip install --upgrade pip tox tox-gh-actions
- name: Test with tox
run: tox
- name: Upload coverage.xml
if: ${{ matrix.python-version == '3.10' }}
uses: actions/upload-artifact@v2
if: ${{ matrix.python-version == '3.11' }}
uses: actions/upload-artifact@v3
with:
name: tox-gh-actions-coverage
path: coverage.xml
if-no-files-found: error
- name: Upload coverage.xml to codecov
if: ${{ matrix.python-version == '3.10' }}
uses: codecov/codecov-action@v1
if: ${{ matrix.python-version == '3.11' }}
uses: codecov/codecov-action@v3

0 comments on commit 1feb8e5

Please sign in to comment.