ci: use warpproxy to circumvent ip-ban
This commit is contained in:
parent
0b8cc6ac86
commit
999218edef
1 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,14 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
Test:
|
Test:
|
||||||
runs-on: cimaster-latest
|
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:
|
steps:
|
||||||
- name: 📦 Checkout repository
|
- name: 📦 Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -21,6 +29,8 @@ jobs:
|
||||||
|
|
||||||
- name: 🧪 Test
|
- name: 🧪 Test
|
||||||
run: cargo nextest run --config-file ~/.config/nextest.toml --profile ci --retries 2 --features rss --workspace
|
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
|
- name: 💌 Upload test report
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
Reference in a new issue