Stable interface - Grumble #65
Workflow file for this run
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: Monarch Build Tester | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-test-monarch: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
install_script: | |
- "./scripts/install-monarch.sh" | |
- "./scripts/docker-install-monarch.sh" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Install Monarch | |
continue-on-error: false | |
run: bash ${{ matrix.install_script }} | |
- name: Setup Monarch Container | |
continue-on-error: false | |
run: docker build -t monarch -f docker/builder/Dockerfile . | |
- name: Run Monarch tests | |
run: go test ./... | |
- name: Cleanup | |
run: bash ./scripts/uninstall-monarch.sh |