-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 954 Bytes
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: test fluxion-go
# This will be expanded for more robust testing
# right now we build and run the main test command
# and test the package "types" directory
on:
pull_request: []
jobs:
test:
name: Test fluxion-go
runs-on: ubuntu-latest
# TODO add more configurations
strategy:
fail-fast: false
matrix:
test: [["fluxrm/flux-sched:bookworm"]]
container:
image: ${{ matrix.test[0] }}
options: --user root
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ^1.19
# TODO: do we want this to be for different versions? Need to coincide with container bases
- name: flux-sched Clone
run: git clone https://github.com/flux-framework/flux-sched /opt/flux-sched
- name: Build
run: make build
- name: Test Binary
run: make test-binary
- name: Test Modules
run: make test-modules