Skip to content

Merge pull request #267 from eggplants/fix-266 #581

Merge pull request #267 from eggplants/fix-266

Merge pull request #267 from eggplants/fix-266 #581

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 1
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
python-version:
- '3.12'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: pip
cache-dependency-path: poetry.lock
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v3
- run: poetry install --no-interaction
- name: Test
if: ${{ runner.os != 'Linux' }}
run: poetry run task test
- name: Test & publish code coverage
if: ${{ runner.os == 'Linux' && secrets.CC_TEST_REPORTER_ID != '' }}

Check failure on line 37 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 37, Col: 11): Unrecognized named-value: 'secrets'. Located at position 25 within expression: runner.os == 'Linux' && secrets.CC_TEST_REPORTER_ID != ''
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: poetry run task test:ci
coverageLocations: ${{github.workspace}}/cov.xml:coverage.py
debug: true