We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f4b7cd commit c05eb63Copy full SHA for c05eb63
.github/actions/test/action.yaml
@@ -12,6 +12,26 @@ runs:
12
env:
13
CPATH: ${{env.CPATH}}
14
run: |
15
- $commandPath = $(Join-Path . ...)
+ $commandPath = Join-Path . ...
16
+ $tagValues = & {
17
+ $tags = 'nofuse', 'noipfs'
18
+ $combinations = @()
19
+ $allCombinations = [Math]::Pow(2, $tags.Length)
20
+ for ($i = 0; $i -lt $allCombinations; $i++) {
21
+ $components = @()
22
+ for ($j = 0; $j -lt $tags.Length; $j++) {
23
+ if (($i -band ([Math]::Pow(2, $j))) -ne 0) {
24
+ $components += $tags[$j]
25
+ }
26
27
+ if ($components.Count -gt 0) {
28
+ $combinations += $components -join ','
29
30
31
+ return $combinations
32
33
+ $tagValues | ForEach-Object {
34
+ "go vet -tags=$_ ${commandPath}"
35
36
go test -cover ${commandPath}
37
go test -race ${commandPath}
0 commit comments