Skip to content

Commit eeb1718

Browse files
authored
Merge pull request doveppp#11 from doveppp/dev
Merge dev
2 parents 8920795 + 210f96e commit eeb1718

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/daily-check-in.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@ on:
77

88
jobs:
99
run_script:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v4
13+
1314
- name: Set up Python
1415
uses: actions/setup-python@v5
1516
with:
1617
python-version: '3.9.19'
1718

18-
- name: Install dependencies
19+
- name: Install python dependencies
1920
run: |
2021
python -m pip install --upgrade pip
2122
pip install -r requirements.txt
22-
playwright install firefox
23+
playwright install --with-deps firefox
2324
2425
- name: Execute script
2526
env:
@@ -34,4 +35,4 @@ jobs:
3435
token: ${{ github.token }}
3536
repository: ${{ github.repository }}
3637
retain_days: 10
37-
keep_minimum_runs: 6
38+
keep_minimum_runs: 6

main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
from playwright.sync_api import sync_playwright
77
from tabulate import tabulate
88

9+
10+
os.environ.pop("DISPLAY", None)
11+
os.environ.pop("DYLD_LIBRARY_PATH", None)
12+
913
USERNAME = os.environ.get("USERNAME")
1014
PASSWORD = os.environ.get("PASSWORD")
1115

0 commit comments

Comments
 (0)