looks like playwright need to run as normal user
This commit is contained in:
@@ -11,6 +11,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/playwright/python:v1.48.0-jammy
|
image: mcr.microsoft.com/playwright/python:v1.48.0-jammy
|
||||||
|
options: --user 1001
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -46,8 +47,8 @@ jobs:
|
|||||||
# Install lsb-release before setup-python so the cache work
|
# Install lsb-release before setup-python so the cache work
|
||||||
- name: Install lsb-release
|
- name: Install lsb-release
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
sudo apt-get update
|
||||||
apt-get install -y lsb-release
|
sudo apt-get install -y lsb-release
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user