Skip to content

Commit 14d49f3

Browse files
author
John Giannelos
authored
Merge pull request #394 from johngian/issue-390
Add github actions
2 parents 744fe17 + d747b15 commit 14d49f3

File tree

3 files changed

+28
-34
lines changed

3 files changed

+28
-34
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: mozilla-django-oidc unit tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
python_version:
10+
- "2.7"
11+
- "3.4"
12+
- "3.5"
13+
- "3.6"
14+
- "3.7"
15+
- "3.8"
16+
name: Python ${{ python_version }}
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
- name: Setup python
21+
uses: actions/setup-python@v2
22+
with:
23+
python-version: ${{ matrix.python_version }}
24+
- name: Install dependencies
25+
run: pip install tox tox-gh-actions
26+
- name: Run tox
27+
run: tox

.travis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ envlist =
77
py{35,36,37}-django220
88
py{36,37,38}-django300
99

10-
[travis]
10+
[gh-actions]
1111
python =
1212
2.7: py27
1313
3.4: py34

0 commit comments

Comments
 (0)