-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96fafea
commit f160876
Showing
1 changed file
with
5 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,22 @@ | ||
# This workflow will do a clean install of the dependencies and run tests across different versions | ||
# | ||
# Replace <track> with the track name | ||
# Replace <image-name> with an image to run the jobs on | ||
# Replace <action to setup tooling> with a github action to setup tooling on the image | ||
# Replace <install dependencies> with a cli command to install the dependencies | ||
# | ||
# Find Github Actions to setup tooling here: | ||
# - https://github.com/actions/?q=setup&type=&language= | ||
# - https://github.com/actions/starter-workflows/tree/main/ci | ||
# - https://github.com/marketplace?type=actions&query=setup | ||
# | ||
# Requires scripts: | ||
# - bin/verify-exercises | ||
|
||
name: <track> / Test | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci: | ||
runs-on: <image-name> | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | ||
|
||
- name: Use <setup tooling> | ||
uses: <action to setup tooling> | ||
|
||
- name: Install project dependencies | ||
run: <install dependencies> | ||
- name: Install arturo | ||
uses: curl -sSL https://get.arturo-lang.io/latest | sh | ||
|
||
- name: Verify all exercises | ||
run: bin/verify-exercises |