Skip to content

hide token

hide token #83

Workflow file for this run

name: Workflow for Codecov example-python
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: bazelbuild/setup-bazelisk@v2
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: give wrapper permission
run: chmod +x app/codecov_wrapper.sh
- name: run tests by bazel and generate coverage
run: |

Check failure on line 19 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Workflow for Codecov example-python

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 19, Col: 14): Unrecognized named-value: 'CODECOV_TOKEN'. Located at position 1 within expression: CODECOV_TOKEN
python -m pip install --upgrade pip
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install codecov-cli
bazel coverage --run_under //app:codecov_wrapper.sh --test_output=all --action_env=GIT_DIR=${PWD}/$(git rev-parse --git-dir) --action_env=CODECOV_TOKEN=${{ CODECOV_TOKEN }} --combined_report=lcov //app:test_calculator