Merge pull request #11441 from filecoin-project/steb/fetch-params-storage-tests

fix: ci: fetch params for the storage unit tests
This commit is contained in:
Łukasz Magiera 2023-11-27 11:24:44 +01:00 committed by GitHub
commit 003d32a1d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 9 deletions

View File

@ -996,23 +996,20 @@ workflows:
- build - build
suite: utest-unit-cli suite: utest-unit-cli
target: "./cli/... ./cmd/... ./api/..." target: "./cli/... ./cmd/... ./api/..."
get-params: true
executor: golang-2xl executor: golang-2xl
get-params: true
- test: - test:
name: test-unit-node name: test-unit-node
requires: requires:
- build - build
suite: utest-unit-node suite: utest-unit-node
target: "./node/..." target: "./node/..."
- test: - test:
name: test-unit-rest name: test-unit-rest
requires: requires:
- build - build
suite: utest-unit-rest suite: utest-unit-rest
target: "./blockstore/... ./build/... ./chain/... ./conformance/... ./gateway/... ./journal/... ./lib/... ./markets/... ./paychmgr/... ./tools/..." target: "./blockstore/... ./build/... ./chain/... ./conformance/... ./gateway/... ./journal/... ./lib/... ./markets/... ./paychmgr/... ./tools/..."
executor: golang-2xl executor: golang-2xl
- test: - test:
name: test-unit-storage name: test-unit-storage
@ -1020,8 +1017,7 @@ workflows:
- build - build
suite: utest-unit-storage suite: utest-unit-storage
target: "./storage/... ./extern/..." target: "./storage/... ./extern/..."
get-params: true
- test: - test:
go-test-flags: "-run=TestMulticoreSDR" go-test-flags: "-run=TestMulticoreSDR"
requires: requires:

View File

@ -557,9 +557,16 @@ workflows:
- build - build
suite: utest-[[ $suite ]] suite: utest-[[ $suite ]]
target: "[[ $pkgs ]]" target: "[[ $pkgs ]]"
[[if eq $suite "unit-cli"]]get-params: true[[end]] [[- if eq $suite "unit-storage"]]
[[if eq $suite "unit-cli"]]executor: golang-2xl[[end]] get-params: true
[[- if eq $suite "unit-rest"]]executor: golang-2xl[[end]] [[- end -]]
[[- if eq $suite "unit-cli"]]
executor: golang-2xl
get-params: true
[[- end -]]
[[- if eq $suite "unit-rest"]]
executor: golang-2xl
[[- end -]]
[[- end]] [[- end]]
- test: - test:
go-test-flags: "-run=TestMulticoreSDR" go-test-flags: "-run=TestMulticoreSDR"