Skip to content

Commit

Permalink
feat: add ci gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovandenhooff authored Apr 21, 2022
1 parent 5607a71 commit e4f9e00
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ci

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout-branch
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v3
with:
python-version: '3.9.7'
- name: install-and-test
working-directory: api
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pytest tests/tests.py

0 comments on commit e4f9e00

Please sign in to comment.