Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Mar 29, 2024
1 parent a1d6dce commit 3688204
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
run: make nix-integration-test
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -118,8 +117,7 @@ jobs:
run: make nix-integration-test-upgrade
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -156,8 +154,7 @@ jobs:
run: make nix-integration-test-ledger
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -194,8 +191,7 @@ jobs:
run: make nix-integration-test-solomachine
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -232,8 +228,7 @@ jobs:
run: make nix-integration-test-slow
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -270,8 +265,7 @@ jobs:
run: make nix-integration-test-ibc
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -308,8 +302,7 @@ jobs:
run: make nix-integration-test-byzantine
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -346,8 +339,7 @@ jobs:
run: make nix-integration-test-gov
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -385,8 +377,7 @@ jobs:
run: make nix-integration-test-grpc
- name: Convert coverage data
run: |
nix profile install nixpkgs#go_1_20
go tool covdata textfmt -i=coverage -o profile.txt
nix develop -c go tool covdata textfmt -i=coverage -o profile.txt
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 3688204

Please sign in to comment.