Skip to content

Commit 8e5bc0b

Browse files
committed
add JET tests
1 parent 5271d8b commit 8e5bc0b

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/JET.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: JET
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags: ['*']
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
# Skip intermediate builds: always.
12+
# Cancel intermediate builds: only if it is a pull request build.
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
15+
16+
jobs:
17+
test:
18+
if: "!contains(github.event.head_commit.message, 'skip ci')"
19+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
version:
25+
- '1.12'
26+
os:
27+
- ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v6
30+
- uses: julia-actions/setup-julia@v2
31+
with:
32+
version: ${{ matrix.version }}
33+
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
34+
- uses: julia-actions/cache@v2
35+
- name: Install and run JET.jl
36+
shell: julia --project="." --color=yes {0}
37+
run: |
38+
using Pkg
39+
Pkg.add("JET")
40+
Pkg.instantiate()
41+
using JET
42+
using RecursiveArrayTools
43+
44+
test_package(RecursiveArrayTools;
45+
target_modules = (RecursiveArrayTools,))

0 commit comments

Comments
 (0)