fix workflow file
This commit is contained in:
parent
abb195f004
commit
1fb839643a
42
.github/workflows/test.yml
vendored
42
.github/workflows/test.yml
vendored
@ -37,6 +37,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
file: ./coverage.txt
|
file: ./coverage.txt
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-importer:
|
test-importer:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -57,6 +58,7 @@ jobs:
|
|||||||
- name: test-importer
|
- name: test-importer
|
||||||
run: |
|
run: |
|
||||||
make test-import
|
make test-import
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-rpc:
|
test-rpc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -77,6 +79,7 @@ jobs:
|
|||||||
- name: Test rpc endpoint
|
- name: Test rpc endpoint
|
||||||
run: |
|
run: |
|
||||||
make test-rpc
|
make test-rpc
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-e2e:
|
test-e2e:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -97,6 +100,7 @@ jobs:
|
|||||||
- name: Test e2e
|
- name: Test e2e
|
||||||
run: |
|
run: |
|
||||||
make test-integration
|
make test-integration
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
# integration_tests:
|
# integration_tests:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
@ -128,22 +132,22 @@ jobs:
|
|||||||
# path: debug_files.tar.gz
|
# path: debug_files.tar.gz
|
||||||
# if-no-files-found: ignore
|
# if-no-files-found: ignore
|
||||||
|
|
||||||
upload-cache:
|
# upload-cache:
|
||||||
if: github.event_name == 'push'
|
# if: github.event_name == 'push'
|
||||||
needs: ["integration_tests"]
|
# needs: ["integration_tests"]
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
os: [macos-latest]
|
# os: [macos-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v18
|
# - uses: cachix/install-nix-action@v18
|
||||||
- uses: cachix/cachix-action@v11
|
# - uses: cachix/cachix-action@v11
|
||||||
with:
|
# with:
|
||||||
name: ethermint
|
# name: ethermint
|
||||||
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
|
# signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
|
||||||
- name: 'instantiate integration test env'
|
# - name: 'instantiate integration test env'
|
||||||
run: nix-store -r $(nix-instantiate tests/integration_tests/shell.nix)
|
# run: nix-store -r $(nix-instantiate tests/integration_tests/shell.nix)
|
||||||
|
|
||||||
test-sim-nondeterminism:
|
test-sim-nondeterminism:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -163,6 +167,7 @@ jobs:
|
|||||||
- name: Test simulation nondeterminism
|
- name: Test simulation nondeterminism
|
||||||
run: |
|
run: |
|
||||||
make test-sim-nondeterminism
|
make test-sim-nondeterminism
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-sim-random-genesis-fast:
|
test-sim-random-genesis-fast:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -182,6 +187,7 @@ jobs:
|
|||||||
- name: Test simulation with random genesis
|
- name: Test simulation with random genesis
|
||||||
run: |
|
run: |
|
||||||
make test-sim-random-genesis-fast
|
make test-sim-random-genesis-fast
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-sim-import-export:
|
test-sim-import-export:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -201,6 +207,7 @@ jobs:
|
|||||||
- name: Simulation of import and export genesis
|
- name: Simulation of import and export genesis
|
||||||
run: |
|
run: |
|
||||||
make test-sim-import-export
|
make test-sim-import-export
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-sim-after-import:
|
test-sim-after-import:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -219,4 +226,5 @@ jobs:
|
|||||||
go.sum
|
go.sum
|
||||||
- name: Test simulation after import
|
- name: Test simulation after import
|
||||||
run: |
|
run: |
|
||||||
make test-sim-after-import
|
make test-sim-after-import
|
||||||
|
if: env.GIT_DIFF
|
Loading…
Reference in New Issue
Block a user