You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
896 B
39 lines
896 B
name: "Plugin Worker Integration Tests"
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
plugin-worker:
|
|
name: "Plugin Worker: ${{ matrix.worker }}"
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 10
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- worker: erasure_coding
|
|
path: test/plugin_workers/erasure_coding
|
|
- worker: vacuum
|
|
path: test/plugin_workers/vacuum
|
|
- worker: volume_balance
|
|
path: test/plugin_workers/volume_balance
|
|
|
|
steps:
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: ^1.26
|
|
id: go
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Run plugin worker tests
|
|
run: go test -v ./${{ matrix.path }}
|