Skip to content

Commit

Permalink
Merge pull request #568 from OasisDEX/daily-improvements-16-oct-2
Browse files Browse the repository at this point in the history
Daily improvements - 16 October
  • Loading branch information
juan-langa authored Oct 16, 2024
2 parents 0bb4c77 + 8b922b7 commit cb8ecb1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/0_1_regressionWithRealWallet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: 0.1. Regression - Tests ith real wallet

on:
workflow_dispatch:
inputs:
base_url:
description: 'Environment base URL to run the tests on.'
type: string
default: 'https://staging.summer.fi'
required: true
flags_features:
description: 'Features Flags to enable / disable. For example: "flag1:true flag2:false"'
type: string
default: ''
required: false

jobs:
with-real-wallet-tests:
name: 'Tests with real wallet'
runs-on: ubuntu-latest
container:
image: synthetixio/docker-node:18.16-ubuntu
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Install playwright
run: npx playwright install && npx playwright install-deps
- name: Install xvfb
run: apt-get update -y && apt-get -y install xvfb && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
- name: Run 'With real wallet' tests
run: |
BASE_URL=${{ inputs.base_url }} \
FLAGS_FEATURES=${{ inputs.flags_features}} \
yarn ci:with-real-wallet:
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-with-real-wallet
path: playwright-reports/with-real-wallet
retention-days: 30
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"//-2b": "---------------------- CI REGRESSION TESTS -----------------------",
"//-2c": "---------------------------------------------------------------",
"ci:no-wallet:regression": "WORKERS='2' FULLY_PARALLEL='true' RETRIES='2' yarn no-wallet:regression",
"ci:with-real-wallet": "xvfb-run yarn with-real-wallet",
"ci:with-wallet:aave:ethereum:regression": "xvfb-run yarn with-wallet:aave:ethereum:regression",
"ci:with-wallet:aave:other:regression": "xvfb-run yarn with-wallet:aave:other:regression",
"ci:with-wallet:aave:arbitrum:regression": "xvfb-run yarn with-wallet:aave:arbitrum:regression",
Expand Down

0 comments on commit cb8ecb1

Please sign in to comment.