Skip to content

Commit

Permalink
Switch to GitHub Actions CI
Browse files Browse the repository at this point in the history
Fixes hzdg#130
  • Loading branch information
akx committed May 9, 2022
1 parent bda0a46 commit a9b7a2d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 37 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Build:
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- python-version: '3.6'
- python-version: '3.8'
steps:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v2
with:
python-version: '${{ matrix.python-version }}'
- uses: actions/checkout@v2
- run: pip install -U pip wheel setuptools tox-gh-actions
- run: tox
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
envlist =
py{36,37,38,39}-django{22,30,31}
py{36,37,38}-django{22,30,31}
py{38,39,310}-django{40}

[testenv]
setenv = PYTHONPATH = {toxinidir}
Expand All @@ -12,3 +13,4 @@ deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django40: Django>=3.1,<3.2

0 comments on commit a9b7a2d

Please sign in to comment.