Fix radicle-httpd tests for release instead of build from source

This commit is contained in:
Sebastian Martinez
2024-07-09 15:39:58 +02:00
committed by Rūdolfs Ošiņš
parent 2b491a1d09
commit cf995c09c1
8 changed files with 66 additions and 66 deletions
-6
View File
@@ -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
-10
View File
@@ -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
-7
View File
@@ -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: |