mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
chore: add system test action
This commit is contained in:
parent
6358ac3918
commit
b16d53964d
1 changed files with 21 additions and 0 deletions
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…
Add table
Reference in a new issue