Skip to content

Commit

Permalink
ci: Update and fix workflow file
Browse files Browse the repository at this point in the history
Uses OS versions explicitly for older python versions.
Allows those tests to fail.
  • Loading branch information
st-bender committed Jul 22, 2023
1 parent 89730de commit 25e60a1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/ci_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,35 @@ on:

jobs:
build_and_test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow-failure }}

strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
extras: [""]
allow-failure: [false]
include:
- python-version: "2.7"
os: ubuntu-20.04
extras: ""
allow-failure: true
- python-version: "3.5"
os: ubuntu-20.04
extras: ""
allow-failure: true
- python-version: "3.6"
os: ubuntu-20.04
extras: ""
allow-failure: true
- python-version: "3.8"
os: ubuntu-latest
extras: "pymc3"
allow-failure: true
- python-version: "3.8"
os: ubuntu-latest
extras: "pymc4"
allow-failure: true

Expand Down

0 comments on commit 25e60a1

Please sign in to comment.