Skip to content

Commit

Permalink
setup a cron job to test beta-4 continuously (FuelLabs#1436)
Browse files Browse the repository at this point in the history
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
Voxelot authored Oct 23, 2023
1 parent 2a45290 commit daafeb3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/e2e-test-beta4-dev.yml
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
9 changes: 9 additions & 0 deletions .github/workflows/e2e_config/beta-4.toml.template
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}"
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Description of the upcoming release here.

### Added

- [#1436](https://github.com/FuelLabs/fuel-core/pull/1436): Add a github action to continuously test beta-4
- [#1432](https://github.com/FuelLabs/fuel-core/pull/1432): Add a new `--api-request-timeout` argument to control TTL for GraphQL requests.
- [#1419](https://github.com/FuelLabs/fuel-core/pull/1419): Add additional "sanity" benchmarks for arithmetic op code instructions.
- [#1411](https://github.com/FuelLabs/fuel-core/pull/1411): Added WASM and `no_std` compatibility.
Expand Down

0 comments on commit daafeb3

Please sign in to comment.