Skip to content

propagate secret to dailies #17

propagate secret to dailies

propagate secret to dailies #17

Workflow file for this run

name: Full Tests
on: workflow_call
secrets:

Check failure on line 3 in .github/workflows/testing.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/testing.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
CODECOV_TOKEN:
required: true
jobs:
run:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: s-weigand/setup-conda@v1
- uses: actions/checkout@v3
- run: git fetch --prune --unshallow --tags
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Global Setup
run: |
python -m pip install -U pip # Official recommended way
pip install pytest-xdist
- name: Install tqdm_publisher with minimal requirements
run: pip install .[test]
- name: Run full pytest with coverage
run: pytest -vv -rsx --cov=./src --cov-report xml:./codecov.xml
- name: Upload full coverage to Codecov
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest' }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./codecov.xml
flags: unittests
name: codecov-umbrella
yml: ./codecov.yml
verbose: true