Skip to content

Commit

Permalink
Merge pull request #13 from Mng-dev-ai/add-ci
Browse files Browse the repository at this point in the history
add ci
  • Loading branch information
Mng-dev-ai authored May 29, 2022
2 parents e423484 + ba255e4 commit 287e79c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test

on: [push, pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
python setup.py develop
- name: Run tests
run: python runtests.py
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
forbiddenfruit
djangorestframework
pyyaml
uritemplate
cython
djangorestframework-simplejwt
forbiddenfruit>=0.1.4
djangorestframework>=3.12.4
pyyaml>=5.3.1,<5.4
uritemplate>=4.1.1
cython>=0.29.30
djangorestframework-simplejwt>=5.2.0
3 changes: 2 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pytest
pytest>=7.1.2
cython>=0.29.30

0 comments on commit 287e79c

Please sign in to comment.