Skip to content

Commit

Permalink
chore: automate testing (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed Mar 8, 2023
1 parent 20f5d95 commit 6723bc3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
os:
- ubuntu
#- macOS
#- windows

name: tests
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3

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

- run: pip install -r requirements.txt

- name: run tests
run: |
python manage.py test

0 comments on commit 6723bc3

Please sign in to comment.