Skip to content

Commit c6d0298

Browse files
committed
fix CI workflow
1 parent a9a38d1 commit c6d0298

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
python-version: ['3.12']
25-
node-version: ['12.x']
25+
node-version: ['22.x']
2626
steps:
2727
- uses: actions/checkout@v2
2828
- name: Set up Python ${{ matrix.python-version }}
@@ -41,6 +41,5 @@ jobs:
4141
yarn
4242
yarn static-p
4343
find static
44-
yarn start-back-p &
4544
chromedriver --version
4645
yarn test

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.22.1
1+
v22.22.2

frontend/src/app/intellectual-menu/intellectual-menu.component.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ describe('IntellectualMenuComponent', () => {
1515
{
1616
provide: ActivatedRoute,
1717
useValue: {
18-
params: new BehaviorSubject({ id: 1 })
18+
params: new BehaviorSubject({ id: 1 }),
19+
snapshot: { url: '/' },
1920
}
2021
}],
2122
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"preinstall": "pip install pip-tools",
1313
"install-data": "cd data && pip install -r requirements.txt",
1414
"postinstall": "yarn fyarn && yarn front ./download-images.sh",
15-
"test-front": "yarn front yarn test-once",
15+
"test-front": "yarn front yarn test",
1616
"test-data": "cd data && pytest",
1717
"test": "yarn test-front && yarn test-data",
1818
"start-front": "yarn fyarn stop && yarn front yarn serve",

0 commit comments

Comments
 (0)