Skip to content

Commit

Permalink
Merge pull request #41 update CI
Browse files Browse the repository at this point in the history
update CI
  • Loading branch information
ytdHuang authored Nov 7, 2023
2 parents 40343ea + fe935ad commit 4928ed3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
34 changes: 28 additions & 6 deletions .github/workflows/Runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,46 @@ on:

jobs:
test:
runs-on: ubuntu-latest
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} ${{ matrix.arch }} ( ${{ matrix.group }} )
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
group:
- Core
# for Core functionalities
julia-version:
- '1'
- '1.8'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
group:
- Core

# for extensions
include:
- julia-version: '1'
os: 'ubuntu-latest'
arch: 'x64'
group: 'HierarchicalEOM_QOExt'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v1
arch: ${{ matrix.arch }}
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
Expand All @@ -36,5 +59,4 @@ jobs:
directories: src,ext
- uses: codecov/codecov-action@v3
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
file: lcov.info
3 changes: 1 addition & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ jobs:
directories: src
- uses: codecov/codecov-action@v3
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
file: lcov.info

0 comments on commit 4928ed3

Please sign in to comment.