-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add e2e tests for interchainjs and networks cosmos
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Run E2E Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
interchainjs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository 📝 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build Project | ||
run: yarn build | ||
|
||
- name: Set Up Starship Infrastructure | ||
id: starship-infra | ||
uses: cosmology-tech/[email protected] | ||
with: | ||
values: libs/interchainjs/starship/configs/config.workflow.yaml | ||
port-forward: true | ||
version: 0.1.38 | ||
|
||
- name: Run E2E Tests | ||
run: cd ./libs/interchainjs && yarn starship:test | ||
|
||
networks-cosmos: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository 📝 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Build Project | ||
run: yarn build | ||
|
||
- name: Set Up Starship Infrastructure | ||
id: starship-infra | ||
uses: cosmology-tech/[email protected] | ||
with: | ||
values: networks/cosmos/starship/configs/config.workflow.yaml | ||
port-forward: true | ||
version: 0.1.38 | ||
|
||
- name: Run E2E Tests | ||
run: cd ./networks/cosmos && yarn starship:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters