Skip to content

Commit

Permalink
Another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jan 3, 2021
1 parent 15c045f commit 383e2d4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 50 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/django-backend-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Unit test Django API service
on:
push:
branches:
- master
paths:
- 'packages/fkweb/**'
jobs:
test:
name: Unit test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r packages/fkweb/requirements-dev.txt
- name: Run tests
run: python manage.py test
working-directory: packages/fkweb
16 changes: 0 additions & 16 deletions .github/workflows/django-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,3 @@ jobs:
tag_with_ref: true
path: packages/fkweb
dockerfile: packages/fkweb/Dockerfile
test:
name: Unit test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r packages/fkweb/requirements-prod.txt
- name: Run tests
run: python packages/fkweb/manage.py test
34 changes: 0 additions & 34 deletions packages/fkweb/static/vod.css

This file was deleted.

0 comments on commit 383e2d4

Please sign in to comment.