Skip to content

Update test action (#359) #14

Update test action (#359)

Update test action (#359) #14

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' ]
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