mirror of
https://github.com/captn3m0/pystitcher.git
synced 2024-09-19 21:57:09 +00:00
attempt tokenless upload
This commit is contained in:
parent
f9216fd649
commit
936dbc4a88
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -2,6 +2,9 @@ name: Run Tests
|
|||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
python:
|
python:
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: read
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -20,10 +23,10 @@ jobs:
|
|||||||
pip install -e .[testing]
|
pip install -e .[testing]
|
||||||
- name: Run pytest
|
- name: Run pytest
|
||||||
run: |
|
run: |
|
||||||
pytest --cache-clear --cov=./ --cov-report=xml --cov-report=html
|
pytest --cache-clear --cov=src/ --cov-report=xml --cov-report=html
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
use_oidc: true
|
||||||
files: ./coverage.xml
|
files: ./coverage.xml
|
||||||
env_vars: RUNNER_OS,PYTHON_VERSION,CI,GITHUB_SHA,RUNNER_OS,GITHUB_RUN_ID
|
env_vars: RUNNER_OS,PYTHON_VERSION,CI,GITHUB_SHA,RUNNER_OS,GITHUB_RUN_ID
|
||||||
|
Loading…
Reference in New Issue
Block a user