Skip to content

Commit

Permalink
Add CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunk committed Oct 5, 2024
1 parent 1f60bf5 commit 6399635
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Run tests

on: ["push"]

jobs:
build:
strategy:
matrix:
include:
- { os: ubuntu-latest }
- { target: osx-arm64, os: macos-14 }
fail-fast: false

runs-on: ${{ matrix.os }}
timeout-minutes: 5

defaults:
run:
shell: bash

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install magic
run: |
curl -ssL https://magic.modular.com | bash
- name: Execute tests
run: |
source $HOME/.bash_profile
magic run test

0 comments on commit 6399635

Please sign in to comment.