mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-11 10:27:01 +02:00
fix: system test github action
This commit is contained in:
9
.github/workflows/backend-system-tests.yml
vendored
9
.github/workflows/backend-system-tests.yml
vendored
@@ -6,16 +6,17 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
integration-tests:
|
||||
system-tests:
|
||||
runs-on: ubuntu-latest
|
||||
container: node:18-alpine
|
||||
container: node:18
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: backend
|
||||
- name: Install Dependencies
|
||||
working-directory: ./backend
|
||||
run: npm install
|
||||
- name: Create .env file
|
||||
working-directory: ./backend
|
||||
run: mv .env.example .env
|
||||
- name: Run Server and Test with Newman
|
||||
working-directory: ./backend
|
||||
run: npm run test:system
|
||||
|
||||
Reference in New Issue
Block a user