summaryrefslogtreecommitdiff
path: root/.github/workflows/api.yml
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-29 14:04:28 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-11-03 19:35:16 +0100
commite4a1c21749d42fcdf4c6ce89899d62a2501331ff (patch)
tree0902644e580cdd522ec69bfa8df8bc32331ccaa5 /.github/workflows/api.yml
parentcb50c427098cd73b0d4de930d35c5976f2ae919f (diff)
Run all CI build pipelines on pull request
Diffstat (limited to '.github/workflows/api.yml')
-rw-r--r--.github/workflows/api.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml
deleted file mode 100644
index ae67b753..00000000
--- a/.github/workflows/api.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-name: REST API
-
-on:
- push:
- paths:
- - 'api/**'
-
-defaults:
- run:
- working-directory: api
-
-jobs:
- build:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ubuntu-latest]
- python: [3.8]
- steps:
- - uses: actions/checkout@v2
- - name: Set up Python
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python }}
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r requirements.txt
- - name: Lint with pylint
- run: |
- ./check.sh
- - name: Test with pytest
- run: |
- pytest opendc