Update run-tests.yml

Update action versions
This commit is contained in:
dave-shawley 2023-07-28 09:26:50 -04:00 committed by GitHub
parent 81128b8d54
commit 85f3346ed2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,9 +14,9 @@ jobs:
matrix: matrix:
python-version: [3.8, 3.9, 3.11] python-version: [3.8, 3.9, 3.11]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install python ${{ matrix.python-version }} - name: Install python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
@ -42,7 +42,7 @@ jobs:
coverage report coverage report
coverage xml -o ./coverage.xml coverage xml -o ./coverage.xml
- name: Send coverage to codecov.io - name: Send coverage to codecov.io
uses: codecov/codecov-action@v1.3.2 uses: codecov/codecov-action@v3.1.4
with: with:
token: ${{secrets.CODECOV_TOKEN}} token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml file: ./coverage.xml
@ -50,7 +50,7 @@ jobs:
fail_ci_if_error: true fail_ci_if_error: true
- name: Save coverage report - name: Save coverage report
if: ${{ matrix.python-version == '3.9' }} if: ${{ matrix.python-version == '3.9' }}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: coverage.xml name: coverage.xml
path: ./coverage.xml path: ./coverage.xml