tmp: bpf: fallback to bounded loop if bpf_loop is not available #247
This file contains hidden or 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: PR OATS test | |
on: | |
push: | |
branches: [ 'main', 'release-*' ] | |
pull_request: | |
branches: [ 'main', 'release-*' ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
permissions: | |
# Required for codecov | |
checks: write | |
pull-requests: write | |
# Required for uploading artifacts | |
actions: write | |
name: test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.25' ] | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
persist-credentials: false | |
- name: Set up Go | |
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
with: | |
cache: 'false' | |
go-version: ${{ matrix.go }} | |
- name: Clean up disk space | |
run: | | |
docker system prune -af | |
docker volume prune -f | |
- name: Run oats tests | |
run: make oats-test | |
- name: Upload oats test logs | |
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
if: always() | |
with: | |
name: Oats test logs | |
path: test/oats/*/build/* | |
- name: Report coverage | |
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: ./testoutput/itest-covdata.txt | |
flags: oats-test |