Skip to content

Merge pull request #22 from sbidoul/fix-ci-sbi #168

Merge pull request #22 from sbidoul/fix-ci-sbi

Merge pull request #22 from sbidoul/fix-ci-sbi #168

Workflow file for this run

---
name: CI
on:
push:
branches: ["main"]
pull_request:
jobs:
tests:
name: "Python ${{ matrix.python-version }} on ${{ matrix.machine }}"
runs-on: "${{ matrix.machine }}"
strategy:
fail-fast: false
matrix:
include:
# linux
- python-version: "3.7"
machine: ubuntu-22.04
- python-version: "3.8"
machine: ubuntu-22.04
- python-version: "3.9"
machine: ubuntu-22.04
- python-version: "3.10"
machine: ubuntu-22.04
- python-version: "3.11"
machine: ubuntu-22.04
- python-version: "3.12"
machine: ubuntu-22.04
# mindows
- python-version: "3.7"
machine: windows-latest
- python-version: "3.12"
machine: windows-latest
# mac
- python-version: "3.7"
machine: macos-13
- python-version: "3.12"
machine: macos-latest
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: |
python -VV
python -m site
python -m pip install --upgrade pip virtualenv tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: |
python -m tox
- uses: codecov/codecov-action@v3