Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 2 additions & 60 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Test and Create Coverage Report
if: env.GIT_DIFF
run: |
make test-unit-cover
EXPERIMENTAL=true make test-unit-cover
- uses: codecov/codecov-action@v3
if: env.GIT_DIFF
with:
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Test E2E
if: env.GIT_DIFF
run: |
make test-e2e
EXPERIMENTAL=true make test-e2e

price-feeder:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -186,61 +186,3 @@ jobs:
run: |
sleep 1m
./contrib/scripts/test_localnet_liveness.sh 50 5 50 localhost:26657

experimental-test-unit:
runs-on: ubuntu-latest
needs: install-tparse
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v3
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true
- name: Test the experimental features
if: env.GIT_DIFF
run: |
EXPERIMENTAL=true make test-unit

experimental-test-e2e:
runs-on: ubuntu-latest
needs: install-tparse
timeout-minutes: 25
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v3
if: env.GIT_DIFF
with:
go-version: 1.19
cache: true

# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# It also restores the cache if it exists.
- name: cache docker layer
uses: satackey/action-docker-layer-caching@v0.0.11
if: env.GIT_DIFF
# Ignore the failure of a step and avoid terminating the job.
continue-on-error: true

- name: Build Docker Image with experimental features
if: env.GIT_DIFF
run: |
DOCKER_BUILDKIT=1 make docker-build-experimental

- name: Test E2E with experimental features
if: env.GIT_DIFF
run: |
EXPERIMENTAL=true make test-e2e