ci: use warpproxy to circumvent ip-ban

This commit is contained in:
ThetaDev 2024-08-13 03:42:31 +02:00
parent da39c64f30
commit 43c171761d
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6

View file

@ -7,6 +7,14 @@ on:
jobs:
Test:
runs-on: cimaster-latest
services:
warpproxy:
image: thetadev256/warpproxy
env:
WARP_DEVICE_ID: ${{ secrets.WARP_DEVICE_ID }}
WARP_ACCESS_TOKEN: ${{ secrets.WARP_ACCESS_TOKEN }}
WARP_LICENSE_KEY: ${{ secrets.WARP_LICENSE_KEY }}
WARP_PRIVATE_KEY: ${{ secrets.WARP_PRIVATE_KEY }}
steps:
- name: 📦 Checkout repository
uses: actions/checkout@v4
@ -21,6 +29,8 @@ jobs:
- name: 🧪 Test
run: cargo nextest run --config-file ~/.config/nextest.toml --profile ci --retries 2 --features rss --workspace
env:
ALL_PROXY: "http://warpproxy:8124"
- name: 💌 Upload test report
if: always()