Skip to content

Commit

Permalink
Merge pull request #394 from johngian/issue-390
Browse files Browse the repository at this point in the history
Add github actions
  • Loading branch information
John Giannelos committed Mar 21, 2021
2 parents 744fe17 + d747b15 commit 14d49f3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 34 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: mozilla-django-oidc unit tests
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python_version:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
name: Python ${{ python_version }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: pip install tox tox-gh-actions
- name: Run tox
run: tox
33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ envlist =
py{35,36,37}-django220
py{36,37,38}-django300

[travis]
[gh-actions]
python =
2.7: py27
3.4: py34
Expand Down

0 comments on commit 14d49f3

Please sign in to comment.