Skip to content

step5: add Codecov Flags #46

step5: add Codecov Flags

step5: add Codecov Flags #46

Workflow file for this run

name: API workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test python API
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:

Check failure on line 12 in .github/workflows/api.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/api.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
python-version: '3.10'
- name: Install requirements
run: pip install -r api/requirements.txt
- name: Run tests and collect coverage
run: pytest --cov
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v4.2.0
env:
CODECOV_TOKEN: 'dd037d2d-2e09-4e2d-8aff-288aa253a5c9'
with:
flags: backend