Skip to content

Merge pull request #81 from thomas-serre-sonarsource/master #67

Merge pull request #81 from thomas-serre-sonarsource/master

Merge pull request #81 from thomas-serre-sonarsource/master #67

Workflow file for this run

name: Build & Test
on:
pull_request:
branches:
- master
- blackhatgraphql
push:
branches:
- master
- blackhatgraphql
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.6'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Run DVGA
run: |
nohup python3 ./app.py &
- name: Wait for server (sleep 5 secs)
run: |
sleep 5
- name: Run DVGA Tests
run: |
python3 -m pytest tests/*