-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from keep-network/rfc-18/move-e2e-kubernetes-j…
…ob-to-gha Run e2e testnet tests via GHA, not Kubernetes We were running E2E tests on testnet (Ropsten) using Kubernetes. But as the GitHub Actions provide better visibility for the tests results, we decided to move the testing job there. The e2e-testnet.yml has been created and the old Kubernetes config has been removed. The currently proposed solution is not ideal. It requires manual updating of the tbtc.js version in the workflow config every time new contracts get released. In the future we plan to do that automatically.
- Loading branch information
Showing
6 changed files
with
72 additions
and
100 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,33 @@ | ||
name: E2E tests / Testnet | ||
|
||
on: | ||
schedule: | ||
- cron: '0 */6 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
e2e-testnet-tests: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./e2e | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
cache: "npm" | ||
cache-dependency-path: e2e/package-lock.json | ||
|
||
- run: npm install --save-exact @keep-network/tbtc.js@ropsten | ||
|
||
- name: Run e2e tests | ||
run: | | ||
./e2e-test.js \ | ||
--bitcoin-electrum-host=${{ secrets.KEEP_TEST_ELECTRUMX_HOSTNAME }} \ | ||
--bitcoin-electrum-port=${{ secrets.KEEP_TEST_ELECTRUMX_PORT }} \ | ||
--bitcoin-network="testnet" \ | ||
--bitcoin-depositor-pk=${{ secrets.KEEP_TEST_BTC_DEPOSITOR_PK }} \ | ||
--ethereum-node=${{ secrets.KEEP_TEST_ETH_HOSTNAME_WS }} \ | ||
--lot-size-satoshis="10000" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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