Skip to content

test: adding testing matrix for os release matrix #10

test: adding testing matrix for os release matrix

test: adding testing matrix for os release matrix #10

Workflow file for this run

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: []
workflow_dispatch:
# Bindings should always be checked against the latest containers
# 2:10 every Thursday
schedule:
- cron: '10 2 * * 4'
jobs:
test:
name: Test fluxion-go
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test: [["fluxrm/flux-sched:jammy"],
["fluxrm/flux-sched:fedora38"],
["fluxrm/flux-sched:bookworm-amd64"],
["fluxrm/flux-sched:el8"]]
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: we should consider distributing the header files with the release builds
- name: flux-sched build
env:
version: ${{ matrix.test[1] }}
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