Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Comment out CI tests that need ephemeral-cluster #30

Merged
merged 2 commits into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
Expand Down
149 changes: 76 additions & 73 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,81 +75,84 @@ jobs:
make test-import
if: env.GIT_DIFF

test-solidity:
runs-on: ubuntu-latest
timeout-minutes: 240
strategy:
fail-fast: false
matrix:
batch: ['1-3', '2-3', '3-3']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: 1.17
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
PATTERNS: |
**/**.sol
**/**.go
tests/solidity/**/*.js
tests/solidity/**/*.sh
go.mod
go.sum
- name: test-solidity
run: |
./scripts/run-solidity-tests.sh --batch=${{ matrix.batch }}
if: env.GIT_DIFF
# TODO(jbowen93): https://github.com/celestiaorg/ethermint/issues/25
# test-solidity:
# runs-on: ubuntu-latest
# timeout-minutes: 240
# strategy:
# fail-fast: false
# matrix:
# batch: ['1-3', '2-3', '3-3']
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v2
# with:
# go-version: 1.17
# - uses: technote-space/get-diff-action@v6.0.1
# id: git_diff
# with:
# PATTERNS: |
# **/**.sol
# **/**.go
# tests/solidity/**/*.js
# tests/solidity/**/*.sh
# go.mod
# go.sum
# - name: test-solidity
# run: |
# ./scripts/run-solidity-tests.sh --batch=${{ matrix.batch }}
# if: env.GIT_DIFF

liveness-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2.1.4
with:
go-version: 1.17
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Install Starport
run: |
curl https://get.starport.network/starport! | bash
if: env.GIT_DIFF
- name: Start Local Network via Starport
run: |
starport chain serve --reset-once -v -c ./starport.yml > starport.out 2>&1 &
if: env.GIT_DIFF
- name: Test Local Network Liveness
run: |
sleep 2m
./contrib/scripts/test_localnet_liveness.sh 100 5 50 localhost
if: env.GIT_DIFF
# TODO(jbowen93): https://github.com/celestiaorg/ethermint/issues/26
# liveness-test:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-go@v2.1.4
# with:
# go-version: 1.17
# - uses: technote-space/get-diff-action@v6.0.1
# id: git_diff
# with:
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
# - name: Install Starport
# run: |
# curl https://get.starport.network/starport! | bash
# if: env.GIT_DIFF
# - name: Start Local Network via Starport
# run: |
# starport chain serve --reset-once -v -c ./starport.yml > starport.out 2>&1 &
# if: env.GIT_DIFF
# - name: Test Local Network Liveness
# run: |
# sleep 2m
# ./contrib/scripts/test_localnet_liveness.sh 100 5 50 localhost
# if: env.GIT_DIFF

test-rpc:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/setup-go@v2.1.4
with:
go-version: 1.17
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
**/**.sol
**/**.go
go.mod
go.sum
- name: Test rpc endpoint
run: |
make test-rpc
if: env.GIT_DIFF
# TODO(jbowen93): https://github.com/celestiaorg/ethermint/issues/27
# test-rpc:
# runs-on: ubuntu-latest
# timeout-minutes: 15
# steps:
# - uses: actions/setup-go@v2.1.4
# with:
# go-version: 1.17
# - uses: actions/checkout@v3
# - uses: technote-space/get-diff-action@v6.0.1
# with:
# PATTERNS: |
# **/**.sol
# **/**.go
# go.mod
# go.sum
# - name: Test rpc endpoint
# run: |
# make test-rpc
# if: env.GIT_DIFF

test-e2e:
runs-on: ubuntu-latest
Expand Down