Skip to content

Commit

Permalink
Merge pull request #4 from Tortar/automatic-tests
Browse files Browse the repository at this point in the history
Add automatic tests
  • Loading branch information
Tortar authored Oct 13, 2023
2 parents e34a6ad + 4d2b950 commit 84dee30
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run tests

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1']
os: [ubuntu-latest, windows-latest, macOS-latest]
julia-arch: [x64]

steps:
- name: Cancel ongoing test runs for previous commits
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
annotate: true

0 comments on commit 84dee30

Please sign in to comment.