mirror of
https://github.com/quantum5/qlinks.git
synced 2025-04-24 02:41:56 -04:00
Add CI test
This commit is contained in:
parent
af14bd855f
commit
e43c5792c7
22
.github/workflows/django.yml
vendored
Normal file
22
.github/workflows/django.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Django CI
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.8, 3.9, '3.10']
|
||||
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: |
|
||||
cp qlinks/settings/template.py qlinks/settings/local.py
|
||||
python manage.py test
|
Loading…
Reference in a new issue