Skip to content

Commit 94bc5c4

Browse files
authored
feat: add initial test workflow for pull requests (#5)
* feat: add initial test workflow for pull requests * fix: update controlplane-url reference from secrets to vars in test workflow * ci: matrix test across ubuntu-22.04 and ubuntu-24.04, verify module and daemon * fix: expand test matrix to include ubuntu-22.04-arm * fix: expand test matrix to include ubuntu-24.04-arm
1 parent 0bfbbfb commit 94bc5c4

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
test:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-22.04, ubuntu-22.04-arm, ubuntu-24.04, ubuntu-24.04-arm]
12+
permissions:
13+
id-token: write
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: ./
18+
with:
19+
controlplane-url: ${{ vars.CONTROLPLANE_URL }}
20+
audience: riptides
21+
- name: Verify kernel module loaded
22+
run: lsmod | grep riptides
23+
- name: Verify daemon is running
24+
run: systemctl is-active riptides

0 commit comments

Comments
 (0)