Skip to content

Commit 1caeefe

Browse files
Create tests.yml
experiment running unit tests using github actions
1 parent 0ade3a4 commit 1caeefe

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run unit 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: Tests
18+
strategy:
19+
matrix:
20+
julia-version: ['1']
21+
julia-arch: [x64]
22+
os: [ubuntu-latest]
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: julia-actions/setup-julia@v2
27+
with:
28+
version: ${{ matrix.julia-version }}
29+
arch: ${{ matrix.julia-arch }}
30+
- uses: julia-actions/cache@v2
31+
- uses: julia-actions/julia-buildpkg@v1
32+
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)