Skip to content

simplify config & tune logging & revive tests #58

simplify config & tune logging & revive tests

simplify config & tune logging & revive tests #58

Workflow file for this run

name: PR checks
on:
pull_request:
workflow_dispatch:
jobs:
static-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- run: ruff check .
- run: ruff format --diff .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker-compose -f tests/deps.yaml up -d
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- run: cp -rv .env.test.sample .env.test
- uses: pavelzw/pytest-action@v2
with:
emoji: false
verbose: true
job-summary: true
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 40 in .github/workflows/check-pr.yml

View workflow run for this annotation

GitHub Actions / PR checks

Invalid workflow file

The workflow is not valid. .github/workflows/check-pr.yml (Line: 40, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CODECOV_TOKEN