Skip to content

Update test workflow #1

Update test workflow

Update test workflow #1

Workflow file for this run

name: Tests
on:
push:
branches: [develop]
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 6
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
platform: [ubuntu-latest, macos-latest, windows-latest]

Check failure on line 17 in .github/workflows/run_tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/run_tests.yml (Line: 17, Col: 7): Unexpected value 'platform'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
- name: Test with pytest
run: pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}