Skip to content

Commit de939e9

Browse files
authored
Add test action (#154)
1 parent 88e9fde commit de939e9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/Test.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
10+
# needed to allow julia-actions/cache to delete old caches that it has created
11+
permissions:
12+
actions: write
13+
contents: read
14+
15+
jobs:
16+
test:
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
matrix:
20+
julia-version: ['lts', '1', 'pre']
21+
os: [ubuntu-latest, windows-latest, macOS-latest]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: julia-actions/setup-julia@v2
26+
with:
27+
version: ${{ matrix.julia-version }}
28+
- uses: julia-actions/cache@v2
29+
- uses: julia-actions/julia-buildpkg@v1
30+
- uses: julia-actions/julia-runtest@v1
31+
# with:
32+
# annotate: true

0 commit comments

Comments
 (0)