Skip to content

Commit

Permalink
Replace Travis with GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RealOrangeOne authored and nvlaarhoven committed Sep 28, 2023
1 parent 17ed6b4 commit 0a23d90
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on: [pull_request]

jobs:
build:

runs-on: ubuntu-18.04

strategy:
matrix:
python: [3.7, 3.8]
django: [2.2]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install test dependencies
run: pip install -r tests/requirements.txt
- name: Install dependencies
run: pip install -U django==${{ matrix.django }}
- name: Run tests
run: python manage.py test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 0a23d90

Please sign in to comment.