Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup a cron job to test beta-4 continuously #1436

Merged
merged 5 commits into from
Oct 23, 2023
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
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: '* * * * *'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I don't know how GitHub will do that each minute, but we can merge and see=)


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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope GitHub will automatically send a notification if this CI fails.

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