forked from FuelLabs/fuel-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup a cron job to test beta-4 continuously (FuelLabs#1436)
fixes: FuelLabs#1420 Uses a recurring github action to run e2e tests against the beta-4 environment. Successful run demonstrated here: https://github.com/FuelLabs/fuel-core/actions/runs/6593133202/job/17915110825?pr=1436
- Loading branch information
Showing
3 changed files
with
29 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,19 @@ | ||
name: E2E Test Beta-4 | ||
|
||
on: | ||
schedule: | ||
- cron: '* * * * *' | ||
|
||
jobs: | ||
e2e_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup e2e config secrets | ||
run: | | ||
export e2e_wallet_a="${{ secrets.E2E_WALLET_A }}" | ||
export e2e_wallet_b="${{ secrets.E2E_WALLET_B }}" | ||
envsubst < ${{ github.workspace }}/.github/workflows/e2e_config/beta-4.toml.template > ${{ github.workspace }}/.github/workflows/e2e_config/beta-4.toml | ||
- name: Run e2e tests with docker | ||
run: docker run -v ${{ github.workspace }}/.github/workflows/e2e_config:/etc/e2e_config -e FUEL_CORE_E2E_CONFIG='/etc/e2e_config/beta-4.toml' ghcr.io/fuellabs/fuel-core-e2e-client:v0.20.7 ./fuel-core-e2e-client -- alice |
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,9 @@ | ||
endpoint = "https://beta-4.fuel.network/graphql" | ||
wallet_sync_timeout = "10s" | ||
full_test = false | ||
|
||
[wallet_a] | ||
secret = "${e2e_wallet_a}" | ||
|
||
[wallet_b] | ||
secret = "${e2e_wallet_b}" |
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