neonvm: Add controller flag to disable runner cgroup #3239
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: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- uses: tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c # v44.5.7 | |
id: changed-files | |
with: | |
files: | | |
**/**.go | |
"!test/" | |
go.mod | |
go.sum | |
# run tests on PR only if there are code changes and always on main | |
- name: Run Go Tests | |
if: ${{ (steps.changed-files.outputs.any_changed == 'true' && github.event_name == 'pull_request') || github.ref == 'refs/heads/main' }} | |
run: | | |
make test | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage | |
path: cover.out |