Skip to content

Commit

Permalink
Create CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaferranti committed Jun 30, 2022
1 parent 818eb2c commit c2d67e4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
branches: "main"
tags: ["*"]
pull_request:
branches: [ "main" ]
branches: "main"
release:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
linux-test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
Expand All @@ -29,3 +29,13 @@ jobs:
- name: Run tests
run: |
mason test
mac-test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
brew install chapel
- name: Run test
run: |
mason test

0 comments on commit c2d67e4

Please sign in to comment.