Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Clean up Rust integration workflow

Manav Rathie957ee10d2d2
diff --git a/.github/workflows/rust-e2e-test.yml b/.github/workflows/rust-e2e-test.yml
index ce66563cfe..fe1b02c4ae 100644
--- a/.github/workflows/rust-e2e-test.yml
+++ b/.github/workflows/rust-e2e-test.yml
@@ -1,17 +1,15 @@
-name: "Test (rust e2e)"
+name: "Test (Rust Integration)"
on:
pull_request:
paths:
- - "rust/e2e/**"
- - "rust/apps/cli/**"
- - "rust/crates/contacts/**"
- - "rust/crates/core/**"
+ - ".github/workflows/rust-e2e-test.yml"
- "rust/Cargo.lock"
- "rust/Cargo.toml"
+ - "rust/apps/cli/**"
+ - "rust/crates/**"
+ - "rust/e2e/**"
- "server/**"
- - ".github/workflows/rust-e2e-test.yml"
- workflow_dispatch:
permissions:
contents: read
@@ -26,7 +24,6 @@ env:
jobs:
cli-integration:
runs-on: ubuntu-latest
- timeout-minutes: 30
defaults:
run:
working-directory: rust/apps/cli
@@ -42,19 +39,20 @@ jobs:
with:
node-version: 24
- - run: npm ci --prefix tests/pglite
+ - name: Install PGlite test dependency
+ run: npm ci --prefix tests/pglite
- - run: cargo test --features museum,pglite --locked
+ - name: Run CLI integration tests
+ run: cargo test --features museum,pglite --locked
- test:
+ docker-e2e:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- - name: Checkout code
- uses: actions/checkout@v6
+ - uses: actions/checkout@v6
- - name: Run rust e2e suite
+ - name: Run Docker E2E suite
env:
ENTE_E2E_DOCKER_PROJECT: ente-rust-e2e-${{ github.run_id }}-${{ github.run_attempt }}
ENTE_E2E_ENDPOINT: http://localhost:18080