Skip to content

Commit

Permalink
fix: try another approach; split nightly to a new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skyleaworlder committed May 7, 2023
1 parent f40fcba commit 6fa94a9
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow_failure }}
strategy:
fail-fast: false
matrix:
Expand All @@ -22,20 +21,13 @@ jobs:
- '1'
os: [ubuntu-latest]
arch: [x64]
allow_failure: [false]
include:
- os: ubuntu-latest
version: 'nightly'
arch: x64
allow_failure: true
- os: windows-latest
version: '1'
arch: x64
allow_failure: false
- os: macOS-latest
version: '1'
arch: x64
allow_failure: false
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Nightly CI

on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: [nightly]
os: [ubuntu-latest]
arch: [x64]
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
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
- name: "Run test without coverage report"
uses: julia-actions/julia-runtest@v1
with:
coverage: false

0 comments on commit 6fa94a9

Please sign in to comment.