Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit be786f1

Browse files
committed
fix: update workflow
1 parent 82f17ae commit be786f1

3 files changed

Lines changed: 6 additions & 25 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,19 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212

13+
- uses: actions/setup-node@v3
14+
1315
- name: Set env
1416
run: echo "ENV=test" >> $GITHUB_ENV
1517

16-
- name: Install system dependencies
17-
run: |
18-
sudo apt-get update
19-
sudo apt-get install -y \
20-
libgtk-4-1 \
21-
libgraphene-1.0-0 \
22-
libwoff2dec1.0.2 \
23-
libvpx9 \
24-
libevent-2.1-7 \
25-
libopus0 \
26-
libgstreamer1.0-0 \
27-
libgstreamer-plugins-base1.0-0 \
28-
libflite1 \
29-
libavif16 \
30-
libharfbuzz-icu0 \
31-
libsecret-1-0 \
32-
libhyphen0 \
33-
libmanette-0.2-0 \
34-
libgles2 \
35-
libx264-163
36-
3718
- name: Install pdm
3819
run: pip install pdm
3920

4021
- name: Install project dependencies
4122
run: pdm install
4223

4324
- name: Install playwright
44-
run: pdm run playwright install
25+
run: pdm run playwright install --with-deps
4526

4627
- name: Run tests
4728
run: PYTHONPATH=. pdm run pytest -v -ra api/backend/tests

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

src/hooks/use-advanced-job-options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ export const useAdvancedJobOptions = () => {
1515
};
1616

1717
const router = useRouter();
18-
const { job_options } = router.query;
18+
const { job_options, job_id } = router.query;
1919

2020
const [jobOptions, setJobOptions] =
2121
useState<RawJobOptions>(initialJobOptions);
2222

2323
useEffect(() => {
2424
if (job_options) {
25-
parseJobOptions(job_options as string, setJobOptions);
25+
parseJobOptions(job_id as string, job_options as string, setJobOptions);
2626
}
2727
}, [job_options]);
2828

0 commit comments

Comments
 (0)