Skip to content

Update test action

Update test action #12

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [ 4.x-dev ]
permissions:
actions: read
checks: read
contents: read
deployments: none
issues: read
packages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: none
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
operating-system: ubuntu-latest

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

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 26, Col: 27): Unexpected value 'ubuntu-latest'
include:
- python-version: 3.5
operating-system: ubuntu-20.04
- python-version: 3.6
operating-system: ubuntu-20.04
name: Tests (Python ${{ matrix.python-version }})
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Pytest
run: |
pip install --upgrade pip
pip install pytest
python --version ; pip --version ; pytest --version
shell: bash
- name: Run Tests
run: |
cd tests
./run_tests.sh
shell: bash