Skip to content

Commit

Permalink
removing artificats to simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Dec 20, 2024
1 parent ca60da9 commit dd0cdf9
Showing 1 changed file with 3 additions and 37 deletions.
40 changes: 3 additions & 37 deletions .github/workflows/playwright-svelte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -81,24 +58,13 @@ 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
pushd e2e_project
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
Expand Down

0 comments on commit dd0cdf9

Please sign in to comment.