Im splitting into a gwynforthewyn dev fork and playtechnique release … #2
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' | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
unit-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "checkout" | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ env.GITHUB_REF }} | |
- name: "run tests" | |
run: | | |
go test -v ./... | |
integration-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "checkout" | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ env.GITHUB_REF }} | |
- name: "install" | |
run: | | |
go install . | |
- name: "run integration tests" | |
run: | | |
./bin/cicd_integration.sh |