mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-06-09 18:32:43 +00:00
d246a1a817
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
name: "Plugin Worker Integration Tests"
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'weed/**'
|
|
- 'test/plugin_workers/**'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- '.github/workflows/plugin-workers.yml'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'weed/**'
|
|
- 'test/plugin_workers/**'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- '.github/workflows/plugin-workers.yml'
|
|
|
|
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@v7
|
|
|
|
- name: Run plugin worker tests
|
|
run: go test -v ./${{ matrix.path }}
|