From dd0cdf98b09732a121874e3b4b679c222f1e45c8 Mon Sep 17 00:00:00 2001 From: Kaia Peacock Date: Fri, 20 Dec 2024 15:53:27 -0800 Subject: [PATCH] removing artificats to simplify --- .github/workflows/playwright-svelte.yml | 40 ++----------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/.github/workflows/playwright-svelte.yml b/.github/workflows/playwright-svelte.yml index c4d9c95a6b..9bbeaa867b 100644 --- a/.github/workflows/playwright-svelte.yml +++ b/.github/workflows/playwright-svelte.yml @@ -35,11 +35,10 @@ jobs: E2E_TEST: tests-${{ matrix.test }}.bash steps: - uses: actions/checkout@v4 - - name: Download dfx binary - uses: actions/download-artifact@v4 + - name: Setup node + uses: actions/setup-node@v4 with: - name: dfx-ubuntu-latest-rs-${{ hashFiles('rust-toolchain.toml') }} - path: /usr/local/bin + node-version: lts/* - name: Setup dfx binary run: chmod +x /usr/local/bin/dfx - name: Provision Linux @@ -49,29 +48,7 @@ jobs: echo "archive=$(pwd)/e2e/archive" >> "$GITHUB_ENV" echo "assets=$(pwd)/e2e/assets" >> "$GITHUB_ENV" echo "utils=$(pwd)/e2e/utils" >> "$GITHUB_ENV" - if [ "${{ matrix.backend == 'pocketic' || '' }}" ]; then - echo "USE_POCKETIC=1" >> "$GITHUB_ENV" - fi export - - name: Download bats-support as a git submodule - run: git submodule update --init --recursive - - name: Cache mops files - uses: actions/cache@v4 - with: - path: | - e2e/assets/playground_backend/.mops - key: playground-backend-mops-${{ hashFiles('e2e/assets/playground_backend/mops.toml') }} - - name: Run e2e test - run: timeout 2400 bats "e2e/$E2E_TEST" - - ui_test: - runs-on: ubuntu-latest - needs: [ build_dfx] - strategy: - fail-fast: false - steps: - - name: Checking out repo - uses: actions/checkout@v4 - name: Setting up Python uses: actions/setup-python@v5 with: @@ -81,13 +58,6 @@ jobs: pip install playwright==1.40.0 playwright install playwright install-deps - - name: Download dfx binary - uses: actions/download-artifact@v4 - with: - name: dfx-ubuntu-latest-rs-${{ hashFiles('rust-toolchain.toml') }} - path: /usr/local/bin - - name: Setup dfx binary - run: chmod +x /usr/local/bin/dfx - name: Deploy default dfx project run: | dfx new e2e_project @@ -95,10 +65,6 @@ jobs: dfx start --background --clean dfx deploy popd - - name: Setup node - uses: actions/setup-node@v4 - with: - node-version: lts/* - name: Install dependencies run: npm ci - name: Install Playwright Browsers