mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Fix radicle-httpd tests for release instead of build from source
This commit is contained in:
@@ -10,12 +10,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20.9.0"
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: radicle-httpd -> target
|
||||
- name: Build
|
||||
run: cargo build --all --release --manifest-path=./radicle-httpd/Cargo.toml
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Install Playwright Browsers
|
||||
|
||||
@@ -11,16 +11,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: radicle-httpd -> target
|
||||
- name: Build
|
||||
run: cargo build --all --release --manifest-path=./radicle-httpd/Cargo.toml
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20.9.0"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
@@ -16,6 +16,5 @@ jobs:
|
||||
run: |
|
||||
mkdir -p tests/artifacts;
|
||||
./scripts/install-binaries;
|
||||
./scripts/install-binaries --show-path >> $GITHUB_PATH;
|
||||
- run: |
|
||||
npm run test:http-client:unit
|
||||
|
||||
@@ -26,12 +26,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20.9.0"
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: radicle-httpd -> target
|
||||
- name: Build
|
||||
run: cargo build --all --release --manifest-path=./radicle-httpd/Cargo.toml
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -62,7 +56,6 @@ jobs:
|
||||
run: |
|
||||
mkdir -p tests/artifacts;
|
||||
./scripts/install-binaries;
|
||||
./scripts/install-binaries --show-path >> $GITHUB_PATH;
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user