use us instead of ms, optimized html template #6
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: NSHPTT Go Source Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
go-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: Display Go version | |
run: go version | |
- name: Run setup | |
run: bash setup.sh | |
- name: Run tests | |
run: bash tests/run_tests.sh | |
- name: Run build | |
run: bash build.sh | |
- name: Upload results after tests | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results | |
path: ./nshptt/results | |
retention-days: 5 |