Skip to content

Commit

Permalink
Merge pull request #12 from biolab/gh_actions
Browse files Browse the repository at this point in the history
unify Github Actions config
  • Loading branch information
PrimozGodec committed Jan 20, 2021
2 parents 0b307e6 + e6b6f85 commit 1f32cc5
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,58 @@ jobs:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
timeout-minutes: 15
name: ${{ matrix.name }} (${{ matrix.os }}, ${{ matrix.python-version }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
os: [ubuntu-18.04, macos-10.15, windows-2016]
python-version: [3.7, 3.8]
tox_env: [py-orange-released]
experimental: [false]
name: [Released]
include:
- os: windows-latest
- os: windows-2019
python-version: 3.8
tox_env: py-orange-released
experimental: true
name: Windows10
- os: macos-11.0
python-version: 3.8
tox_env: py-orange-released
experimental: true
name: Big Sur

- os: windows-2016
python-version: 3.7
tox_env: py-orange-oldest
experimental: false
- os: macOS-latest
name: Oldest
- os: macos-10.15
python-version: 3.7
tox_env: py-orange-oldest
name: Oldest
experimental: false
- os: ubuntu-latest
- os: ubuntu-18.04
python-version: 3.7
tox_env: py-orange-oldest
name: Oldest
experimental: false

- os: windows-latest
- os: windows-2016
python-version: 3.8
tox_env: py-orange-latest
experimental: false
- os: macOS-latest
name: Latest
- os: macos-10.15
python-version: 3.8
tox_env: py-orange-latest
experimental: false
- os: ubuntu-latest
name: Latest
- os: ubuntu-18.04
python-version: 3.8
tox_env: py-orange-latest
experimental: false
name: Latest

steps:
- uses: actions/checkout@v2
Expand All @@ -68,7 +87,7 @@ jobs:
- name: Upload code coverage
if: |
matrix.python-version == '3.8' &&
matrix.os == 'ubuntu-latest' &&
matrix.os == 'ubuntu-18.04' &&
matrix.tox_env == 'py-orange-released'
run: |
pip install codecov
Expand Down

0 comments on commit 1f32cc5

Please sign in to comment.