ci: skip authenticated tests

This commit is contained in:
ThetaDev 2025-01-13 03:46:45 +01:00
parent 75c3746890
commit 51dacf8df2
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
3 changed files with 97 additions and 151 deletions

View file

@ -28,15 +28,9 @@ jobs:
run: cargo clippy --all --tests --features=rss,indicatif,audiotag -- -D warnings
- name: 🧪 Test
run: |
printf '%s\n' "$RUSTYPIPE_CACHE" > rustypipe_cache.json
echo "authenticated=$YT_AUTHENTICATED"
wc -c rustypipe_cache.json
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 -- --skip 'cookie_auth::'
env:
ALL_PROXY: "http://warpproxy:8124"
RUSTYPIPE_CACHE: "${{ secrets.RUSTYPIPE_CACHE }}"
YT_AUTHENTICATED: "${{ secrets.RUSTYPIPE_CACHE != '' }}"
- name: Move test report
if: always()