Skip to content

Commit

Permalink
try CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMaincon committed Jan 2, 2025
1 parent 443bdc0 commit 28c908b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
- doc
tags: '*'
pull_request:

# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
env:
JULIA_NUM_THREADS: 2
jobs:
Expand All @@ -32,7 +37,8 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v4
- uses: julia-actions/cache@v2
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- main
- dev
- doc
# - doc
tags: '*'
pull_request:

Expand Down
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
test = @__DIR__
muscade = normpath(joinpath(test,".."))
docs = normpath(joinpath(test,"../docs"))
using Pkg
import Pkg; Pkg.add("Pkg") # for CI on headless server
#using Pkg
Pkg.activate(test)
using Muscade # seems necessary for doc test to work on a cold start
module Runtest
Expand Down

0 comments on commit 28c908b

Please sign in to comment.