Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 6891:be310c5f866e
another trial with exclude and include
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 01 Sep 2022 14:15:25 -0400 |
| parents | 8fdd8f72c333 |
| children | 70d630fddf55 |
comparison
equal
deleted
inserted
replaced
| 6890:8fdd8f72c333 | 6891:be310c5f866e |
|---|---|
| 13 | 13 |
| 14 jobs: | 14 jobs: |
| 15 test: | 15 test: |
| 16 name: CI build test | 16 name: CI build test |
| 17 | 17 |
| 18 runs-on: ubuntu-latest | 18 #runs-on: ubuntu-latest |
| 19 # use below if running on multiple OS's. | 19 # use below if running on multiple OS's. |
| 20 # runs-on: ${{ matrix.os }} | 20 runs-on: ${{ matrix.os }} |
| 21 | 21 |
| 22 strategy: | 22 strategy: |
| 23 fail-fast: false | 23 fail-fast: false |
| 24 max-parallel: 4 | 24 max-parallel: 4 |
| 25 matrix: | 25 matrix: |
| 26 # Run in all these versions of Python | 26 # Run in all these versions of Python |
| 27 python-version: [ "3.10", "3.11-dev" ] | 27 python-version: [ "3.10", "3.11-dev" ] |
| 28 # python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6", "3.11-dev" ] | 28 # python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6", "3.11-dev" ] |
| 29 # use for multiple os or ubuntu versions | 29 # use for multiple os or ubuntu versions |
| 30 #os: [ubuntu-latest, macos-latest, windows-latest] | 30 #os: [ubuntu-latest, macos-latest, windows-latest] |
| 31 os: [ubuntu-latest, ubuntu-22.04] | |
| 31 # if the ones above fail. fail the build | 32 # if the ones above fail. fail the build |
| 32 experimental: [false] | 33 experimental: [false] |
| 33 include: | 34 include: |
| 34 # example: if 3.12 fails the jobs still succeeds | 35 # example: if 3.12 fails the jobs still succeeds |
| 35 # - python-version: 3.12 | 36 # - python-version: 3.12 |
| 36 # experimental: true | 37 # experimental: true |
| 37 - python-version: "3.10" | 38 - os: ubuntu-22.04 |
| 38 os: ubuntu-22.04 | 39 python-version: 2.7 |
| 39 experimental: true | 40 experimental: true |
| 40 - python-version: "3.11-dev" | 41 - os: ubuntu-22.04 |
| 41 runs-on: ubuntu-22.04 | 42 python-version: 3.11-dev |
| 42 experimental: true | 43 experimental: true |
| 44 exclude: | |
| 45 - os: ubuntu-22.04 | |
| 43 | 46 |
| 44 env: | 47 env: |
| 45 # get colorized pytest output even without a controlling tty | 48 # get colorized pytest output even without a controlling tty |
| 46 PYTEST_ADDOPTS: "--color=yes" | 49 PYTEST_ADDOPTS: "--color=yes" |
| 47 # OS: ${{ matrix.os }} | 50 # OS: ${{ matrix.os }} |
