diff --git a/.github/workflows/Runtests.yml b/.github/workflows/Runtests.yml index 36069c2f..d7041196 100644 --- a/.github/workflows/Runtests.yml +++ b/.github/workflows/Runtests.yml @@ -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: @@ -36,5 +59,4 @@ jobs: directories: src,ext - uses: codecov/codecov-action@v3 with: - file: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + file: lcov.info \ No newline at end of file diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2799178d..bf181bd8 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -35,5 +35,4 @@ jobs: directories: src - uses: codecov/codecov-action@v3 with: - file: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + file: lcov.info \ No newline at end of file