Skip to content

Update workflows

Update workflows #97

Workflow file for this run

# This workflow will run tests for python versions specified on a PR creation and a push to master
name: Tests
on: [ push, pull_request, workflow_dispatch ]
permissions:
contents: [read]

Check failure on line 7 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: 7, Col: 13): A sequence was not expected .github/workflows/run-tests.yml (Line: 8, Col: 18): A sequence was not expected
pull-requests: [read, write]
jobs:
build:
name: Tests
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage
pip install coveralls
- name: Run tests
run: |
make unittest
- name: Coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github