Browse Source

Create unittests.yml

pull/160/head
Steven Ly 5 years ago
committed by GitHub
parent
commit
fa7475cad7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      .github/workflows/unittests.yml

+ 30
- 0
.github/workflows/unittests.yml View File

@ -0,0 +1,30 @@
name: eDivorce - Unit Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test

Loading…
Cancel
Save