Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit 07b7e4f

Browse files
authored
Create main_tests.yml
1 parent 979961d commit 07b7e4f

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/main_tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
test:
8+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
fail-fast: true
12+
matrix:
13+
version:
14+
- '1'
15+
os:
16+
- ubuntu-latest
17+
arch:
18+
- x64
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: julia-actions/setup-julia@v1
22+
with:
23+
version: ${{ matrix.version }}
24+
arch: ${{ matrix.arch }}
25+
- uses: actions/cache@v1
26+
env:
27+
cache-name: cache-artifacts
28+
with:
29+
path: ~/.julia/artifacts
30+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
31+
restore-keys: |
32+
${{ runner.os }}-test-${{ env.cache-name }}-
33+
${{ runner.os }}-test-
34+
${{ runner.os }}-
35+
- uses: julia-actions/julia-buildpkg@latest
36+
- uses: julia-actions/julia-runtest@latest

0 commit comments

Comments
 (0)