Skip to content

Commit 6a57834

Browse files
test workflow
1 parent dcef7a1 commit 6a57834

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,32 @@ on:
66
- master
77
- next
88

9+
10+
911
jobs:
12+
test-integration:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Node setup
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
- name: Python setup
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: 3.12
24+
- name: Install python dependencies
25+
run: |
26+
cd ./tests/integration/microservices/viewer
27+
python3 -m venv venv
28+
source venv/bin/activate
29+
pip install -r requirements.txt
30+
- name: Install and run tests
31+
run: |
32+
npm i
33+
34+
npm run test:integration
1035
test:
1136
uses: Geode-solutions/actions/.github/workflows/js-test.yml@master
1237
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@geode/opengeodeweb-front",
33
"scripts": {
44
"lint": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
5-
"test": "vitest --config ./tests/vitest.config.js",
5+
"test": "npm run test:unit",
66
"test:unit": "npm run test --project unit",
77
"test:integration": "npm run test --project integration",
88
"coverage": "vitest run --coverage",

0 commit comments

Comments
 (0)