Skip to content

Commit

Permalink
also added test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Aug 27, 2024
1 parent a26fa66 commit a7474f8
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "Build & Test"
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
paths-ignore:
- 'docs/*'
- '*.yml'
- '*.md'
- 'LICENSE'

defaults:
run:
shell: bash -l {0}

jobs:
build:
name: "Build & Test"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest # Linux - amd64
- macos-12 # macOS - amd64
- macos-latest # macOS - arm64/M1
- windows-latest # Windows - amd64
steps:
- name: "Cancel similar actions in progress"
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}

- name: "Setup Arturo"
uses: arturo-lang/arturo-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: "Checkout"
uses: actions/checkout@main
with:
submodules: recursive

- name: Run unit tests
run: |
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
arturo tests/tests.art

0 comments on commit a7474f8

Please sign in to comment.