Skip to content

Commit

Permalink
Merge pull request qutip#165 from ytdHuang/fix/codecov
Browse files Browse the repository at this point in the history
Improve runtest CI config
  • Loading branch information
ytdHuang authored Jun 11, 2024
2 parents 98e77d2 + b307bf8 commit fd0744b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,27 @@ jobs:
matrix:
# for core tests (latest and oldest supported versions)
version:
- '1.7'
- '1.10'
- '1.7' # oldest
- '1' # latest
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
group:
- Core

include:
# for core tests on macOS
- version: '1.7' # oldest (julia v1.7 does not support M-series chip)
os: 'macOS-13' # Intel chip
arch: 'x64'
group: 'Core'
- version: '1' # latest
os: 'macOS-latest' # M-series chip
arch: 'arm64'
group: 'Core'

# for core tests (intermediate versions)
- version: '1.8'
os: 'ubuntu-latest'
Expand Down Expand Up @@ -73,7 +82,8 @@ jobs:
with:
directories: src,ext
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
fail_ci_if_error: false

0 comments on commit fd0744b

Please sign in to comment.