refactor: enhance test workflow and integration tests with cookies handling and configuration checks

This commit is contained in:
bohd4nx
2026-03-08 03:58:07 +02:00
parent 2cdc102a74
commit 8cf57b58b7
3 changed files with 23 additions and 3 deletions
+11
View File
@@ -21,7 +21,18 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt pytest pytest-asyncio
- name: Write cookies.json
if: ${{ env.COOKIES_JSON != '' }}
run: echo "$COOKIES_JSON" > cookies.json
env:
COOKIES_JSON: ${{ secrets.COOKIES_JSON }}
- name: Run tests
if: github.ref != 'refs/heads/master'
run: pytest --ignore=tests/003_test_integration.py
- name: Run tests (master — full suite)
if: github.ref == 'refs/heads/master'
run: pytest
env:
SEED: ${{ secrets.SEED }}