Skip to content

armgit / ente

Public Imported from GitHub
0

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

Authenticate Postgres binary downloads in Rust E2E tests

Manav Rathif788f24b0753
diff --git a/.github/workflows/rust-e2e-test.yml b/.github/workflows/rust-e2e-test.yml
index 9221dba78d..3555e39947 100644
--- a/.github/workflows/rust-e2e-test.yml
+++ b/.github/workflows/rust-e2e-test.yml
@@ -42,8 +42,14 @@ jobs:
shared-key: rust-cli
save-if: false
+ # GITHUB_TOKEN lifts postgresql_embedded's GitHub API rate limit
+ # for fetching Postgres binaries (60/hr unauthenticated -> 1000/hr).
- name: Run CLI integration tests
run: cargo test -p ente-rs --features museum --locked
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run E2E suite
run: cargo test -p ente-e2e --features museum --locked
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}