Skip to content

More CI/CD fixes

More CI/CD fixes #566

Workflow file for this run

name: Python 3
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
if [ "${{ matrix.python-version }}" = "3.5" ]; then
python -m pip install --upgrade "pip < 21.0"
else
python -m pip install --upgrade pip
fi
pip install six archspec packaging
shell: bash
- name: Run unit tests
run: bash ./runtests.sh