This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Fill in a basic readme, with examples (#28) #83
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
name: test | |
# triggered by push to main, pull request to main, or manual workflow dispatch. Runs tests on macOS and Ubuntu | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-macos: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# https://cashapp.github.io/hermit/usage/ci/ | |
- name: Init Hermit | |
uses: cashapp/activate-hermit@v1 | |
with: | |
cache: true | |
- name: Build and Test | |
run: | | |
mvn test | |
test-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# https://cashapp.github.io/hermit/usage/ci/ | |
- name: Init Hermit | |
uses: cashapp/activate-hermit@v1 | |
with: | |
cache: true | |
- name: Build and Test | |
run: | | |
mvn test |