test: Adjusting test workflow for GitHub

This commit is contained in:
Karim shoair
2025-12-18 01:44:05 +02:00
parent 1694b44a2b
commit 580bc5390f
+4 -1
View File
@@ -58,7 +58,7 @@ jobs:
- name: Install all browsers dependencies - name: Install all browsers dependencies
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
python3 -m pip install playwright>=1.55.0 patchright>=1.55.0 camoufox python3 -m pip install playwright==1.56.0 patchright==1.56.0 camoufox>=0.4.11
- name: Get Playwright version - name: Get Playwright version
id: playwright-version id: playwright-version
@@ -83,7 +83,10 @@ jobs:
- name: Install Playwright browsers - name: Install Playwright browsers
run: | run: |
echo "Cache hit: ${{ steps.playwright-cache.outputs.cache-hit }}" echo "Cache hit: ${{ steps.playwright-cache.outputs.cache-hit }}"
if [ "${{ steps.playwright-cache.outputs.cache-hit }}" != "true" ]; then
python3 -m playwright install chromium python3 -m playwright install chromium
else
echo "Skipping install - using cached Playwright browsers"
python3 -m playwright install-deps chromium firefox python3 -m playwright install-deps chromium firefox
- name: Get Camoufox version - name: Get Camoufox version