mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-12-18 03:00:24 +00:00
Update run-tests.yml
Update action versions
This commit is contained in:
parent
81128b8d54
commit
85f3346ed2
1 changed files with 4 additions and 4 deletions
8
.github/workflows/run-tests.yml
vendored
8
.github/workflows/run-tests.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue