This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
81 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,81 @@ | ||
name: Bot 'Phosphore' | ||
on: | ||
schedule: | ||
- cron: "0 8-16/2 * * 1-5" | ||
push: | ||
branches: | ||
- bot-phosphore | ||
|
||
jobs: | ||
start-runner: | ||
name: "start ec2 instance (Linux)" | ||
if: ${{ always() }} | ||
uses: ledgerhq/actions/.github/workflows/start-linux-runner.yml@main | ||
with: | ||
instance-type: c5.4xlarge | ||
secrets: | ||
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | ||
|
||
stop-runner: | ||
name: "stop ec2 instance (Linux)" | ||
needs: [start-runner, run-bot] | ||
uses: ledgerhq/actions/.github/workflows/stop-linux-runner.yml@main | ||
if: ${{ always() }} | ||
with: | ||
label: ${{ needs.start-runner.outputs.label }} | ||
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }} | ||
secrets: | ||
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | ||
|
||
run-bot: | ||
runs-on: ${{ needs.start-runner.outputs.label }} | ||
needs: [start-runner] | ||
steps: | ||
- name: prepare runner | ||
run: | | ||
sudo growpart /dev/nvme0n1 1 | ||
sudo resize2fs /dev/nvme0n1p1 | ||
- uses: actions/checkout@v2 | ||
- name: Retrieving coin apps | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: LedgerHQ/coin-apps | ||
token: ${{ secrets.PAT }} | ||
path: coin-apps | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: 14.x | ||
- name: install yarn | ||
run: npm i -g yarn | ||
- name: pull docker image | ||
run: docker pull ghcr.io/ledgerhq/speculos | ||
- name: kill apt-get | ||
run: sudo killall -w apt-get apt || echo OK | ||
- name: Install linux deps | ||
run: sudo apt-get install -y jq | ||
- name: Install dependencies | ||
run: | | ||
yarn global add yalc | ||
yarn --frozen-lockfile | ||
yarn ci-setup-cli | ||
- name: BOT | ||
env: | ||
SHOW_LEGACY_NEW_ACCOUNT: "1" | ||
SEED: ${{ secrets.SEED6 }} | ||
VERBOSE_FILE: bot-tests.txt | ||
GITHUB_SHA: ${GITHUB_SHA} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_RUN_ID: ${{ github.run_id }} | ||
GITHUB_WORKFLOW: ${{ github.workflow }} | ||
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }} | ||
run: COINAPPS=$PWD/coin-apps yarn ci-test-bot | ||
timeout-minutes: 120 | ||
- name: Run coverage | ||
if: failure() || success() | ||
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} npx codecov | ||
- name: upload logs | ||
if: failure() || success() | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: bot-tests.txt | ||
path: bot-tests.txt |
8d83b9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
8d83b9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 critical spec errors
Spec Ethereum failed!
Spec Ethereum Ropsten failed!
Spec Filecoin failed!
Details of the 0 mutations
Spec Algorand (failed)
Spec Bitcoin (failed)
Spec Bitcoin Testnet (failed)
Spec Bitcoin Cash (failed)
Spec Bitcoin Gold (failed)
Spec Dash (failed)
Spec Digibyte (failed)
Spec DogeCoin (failed)
Spec Komodo (failed)
Spec Litecoin (failed)
Spec Peercoin (failed)
Spec PivX (failed)
Spec Qtum (failed)
Spec Stakenet (failed)
Spec Vertcoin (failed)
Spec Viacoin (failed)
Spec ZCash (failed)
Spec Horizen (failed)
Spec Decred (failed)
Spec Celo (failed)
Spec Cosmos (failed)
Spec Crypto.org Testnet (failed)
Spec Elrond (failed)
Spec BSC (failed)
Spec Polygon (failed)
Spec Ethereum (0)
Spec Ethereum Classic (failed)
Spec Ethereum Ropsten (0)
Spec Filecoin (failed)
Spec Polkadot (failed)
Spec XRP (failed)
Spec Solana (failed)
Spec Stellar (failed)
Spec Tezos (failed)
Spec Tron (failed)
Details of the 124 uncovered mutations
Spec Algorand (5)
Spec Bitcoin (4)
Spec Bitcoin Testnet (4)
Spec Bitcoin Cash (4)
Spec Bitcoin Gold (4)
Spec Dash (4)
Spec Digibyte (4)
Spec DogeCoin (4)
Spec Komodo (4)
Spec Litecoin (4)
Spec Peercoin (4)
Spec PivX (4)
Spec Qtum (4)
Spec Stakenet (4)
Spec Vertcoin (4)
Spec Viacoin (4)
Spec ZCash (4)
Spec Horizen (4)
Spec Decred (4)
Spec Celo (2)
Spec Cosmos (6)
Spec Crypto.org Testnet (1)
Spec Elrond (1)
Spec BSC (2)
Spec Polygon (2)
Spec Ethereum (6)
Spec Ethereum Classic (1)
Spec Ethereum Ropsten (1)
Spec Filecoin (1)
Spec Polkadot (5)
Spec XRP (1)
Spec Solana (2)
Spec Stellar (1)
Spec Tezos (7)
Spec Tron (8)
Portfolio ($0.00)
Details of the 35 currencies