Skip to content

feat(command-line): ✨ add command-line prompt component #95

feat(command-line): ✨ add command-line prompt component

feat(command-line): ✨ add command-line prompt component #95

Workflow file for this run

name: End-to-End Functional Tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
paths:
- ".github/workflows/e2e-tests.yaml"
- "src/**"
- "e2e/**"
- "index.html"
- "rust-toolchain.toml"
- "Cargo.toml"
- "Cargo.lock"
- "Trunk.toml"
push:
branches:
- "main"
- "epic/**"
- "integration/**"
paths:
- ".github/workflows/e2e-tests.yaml"
- "src/**"
- "e2e/**"
- "index.html"
- "rust-toolchain.toml"
- "Cargo.toml"
- "Cargo.lock"
- "Trunk.toml"
jobs:
run-tests:
name: Run End to End Tests
runs-on: self-hosted
env:
CARGO_HOME: "/media/nicholas/rust/.cargo"
RUSTUP_HOME: "/media/nicholas/rust/.rustup"
RUSTC_WRAPPER: "/media/nicholas/rust/.cargo/bin/sccache"
CARGO_INCREMENTAL: 0
END_TO_END_TESTS_HEADLESS: "true"
steps:
- name: Skip Duplicate Actions
id: skip_check
uses: fkirc/skip-duplicate-actions@v5
- if: steps.skip_check.outputs.should_skip != 'true'
name: Checkout
uses: actions/[email protected]
- if: steps.skip_check.outputs.should_skip != 'true'
run: cargo rustc --test e2e -- --emit link="./target/debug/deps/e2e"
- if: steps.skip_check.outputs.should_skip != 'true'
run: cargo build --target=wasm32-unknown-unknown
- if: steps.skip_check.outputs.should_skip != 'true'
run: geckodriver --port 4444 &
- if: steps.skip_check.outputs.should_skip != 'true'
run: trunk serve &
- if: steps.skip_check.outputs.should_skip != 'true'
run: sleep 5 && ./target/debug/deps/e2e --fail-fast