Skip to content

Commit

Permalink
Create Github action for CI (#91)
Browse files Browse the repository at this point in the history
* Create django.yml

* Update django.yml

Remove django v1.11 as it has reached end of life

* Delete .travis.yml
  • Loading branch information
jrhoads authored Jan 20, 2021
1 parent 347f0ed commit 962f6f9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Django CI

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

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
django-version: [2.2, 3.0]

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 Django==${{ matrix.django-version}}
- name: Run Tests
run: |
python quicktest.py shibboleth
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

0 comments on commit 962f6f9

Please sign in to comment.