Skip to content

Remove coverage from workflow #7

Remove coverage from workflow

Remove coverage from workflow #7

Workflow file for this run

name: Python package testing
on:
push:
pull_request:
branches: [ "main", "develop" ]
workflow_dispatch:
jobs:
tests:
name: Run tests
matrix:

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

View workflow run for this annotation

GitHub Actions / Python package testing

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 12, Col: 5): Unexpected value 'matrix'
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Python info
shell: bash -e {0}
run: |
which python
python --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
- name: Test with pytest and calculate coverage
run: |
python -m pytest -v