Browse Source

Fix EC integration tests CI: build weed binary and update actions

- Add 'Build weed binary' step before running tests
- Update actions/setup-go from v4 to v6 (Node20 compatibility)
- Update actions/checkout from v2 to v4 (Node20 compatibility)
- Move working-directory to test step only
pull/7597/head
chrislusf 2 days ago
parent
commit
192a897414
  1. 13
      .github/workflows/ec-integration-tests.yml

13
.github/workflows/ec-integration-tests.yml

@ -9,10 +9,6 @@ on:
permissions: permissions:
contents: read contents: read
defaults:
run:
working-directory: test/erasure_coding
jobs: jobs:
ec-integration-tests: ec-integration-tests:
name: EC Integration Tests name: EC Integration Tests
@ -20,15 +16,20 @@ jobs:
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
- name: Set up Go 1.x - name: Set up Go 1.x
uses: actions/setup-go@v4
uses: actions/setup-go@v6
with: with:
go-version: ^1.24 go-version: ^1.24
id: go id: go
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build weed binary
run: |
cd weed && go build -o weed .
- name: Run EC Integration Tests - name: Run EC Integration Tests
working-directory: test/erasure_coding
run: | run: |
go test -v go test -v

Loading…
Cancel
Save