mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-10-02 09:30:10 +02:00
chore: add system test action
This commit is contained in:
parent
6358ac3918
commit
b16d53964d
21
.github/workflows/backend-system-tests.yml
vendored
Normal file
21
.github/workflows/backend-system-tests.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Backend system tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
integration-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: node:18-alpine
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
path: backend
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: Create .env file
|
||||||
|
run: mv .env.example .env
|
||||||
|
- name: Run Server and Test with Newman
|
||||||
|
run: npm run test:system
|
Loading…
Reference in New Issue
Block a user