Fail fast on errors in powershell TTP steps #1457
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: Tests | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
tests: | |
name: Run Unit + Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone git repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5 | |
with: | |
go-version: '1.22' | |
- name: Run TTPForge Unit Tests | |
run: | | |
bash .hooks/run-go-tests.sh coverage | |
- name: Send the coverage output | |
uses: shogo82148/actions-goveralls@7b1bd2871942af030d707d6574e5f684f9891fb2 # v1 | |
with: | |
path-to-profile: coverage-all.out | |
- name: Build the TTPForge Binary | |
run: | | |
go build -o ttpforge | |
- name: Run Integration Tests | |
run: | | |
./integration-tests.sh ./ttpforge |