update actions
This commit is contained in:
parent
f98274f0ec
commit
98e0bc749c
6 changed files with 27 additions and 12 deletions
8
.github/workflows/coverage.yml
vendored
8
.github/workflows/coverage.yml
vendored
|
|
@ -20,13 +20,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@master
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Setup PDM
|
||||
uses: pdm-project/setup-pdm@v3
|
||||
uses: pdm-project/setup-pdm@v4
|
||||
- name: create-json
|
||||
uses: jsdaniell/create-json@v1.2.2
|
||||
uses: jsdaniell/create-json@v1.2.3
|
||||
with:
|
||||
name: "oauth.json"
|
||||
dir: "tests/"
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
(echo "===== tests attempt: 2 ====" && pdm run pytest)
|
||||
pdm run coverage xml
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v4
|
||||
with:
|
||||
file: coverage.xml
|
||||
flags: unittests
|
||||
|
|
|
|||
Loading…
Reference in a new issue