Skip to content

Commit 9adab19

Browse files
authored
Merge pull request #87 from warner/85.github-actions
Switch to GitHub Actions.
2 parents 291df02 + 920fb1d commit 9adab19

File tree

4 files changed

+40
-18
lines changed

4 files changed

+40
-18
lines changed

.github/workflows/tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
branches: ["master"]
7+
tags:
8+
- "*"
9+
pull_request:
10+
branches: ["master"]
11+
12+
jobs:
13+
tests:
14+
name: "${{ matrix.os }}: Python ${{ matrix.python-version }}"
15+
strategy:
16+
matrix:
17+
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9"]
18+
os: ["ubuntu-18.04"]
19+
20+
runs-on: "${{ matrix.os }}"
21+
22+
steps:
23+
- uses: "actions/checkout@v2"
24+
- uses: "actions/setup-python@v2"
25+
with:
26+
python-version: "${{ matrix.python-version }}"
27+
- run: |
28+
pip install tox tox-gh-actions
29+
tox

.travis.yml

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

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def run(self):
7171
"cmdclass": commands,
7272
"install_requires": ["six", "twisted[tls] >= 16.0.0", "pyOpenSSL"],
7373
"extras_require": {
74-
"dev": ["mock", "txtorcon >= 19.0.0"],
74+
"dev": ["mock", "txtorcon >= 19.0.0",
75+
"pywin32 ; sys_platform == 'win32'"],
7576
"tor": ["txtorcon >= 19.0.0"],
7677
},
7778
}

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
[tox]
2-
envlist = py27,py35,py36,py37,py38
2+
envlist = py27,py36,py37,py38,py39
33
skip_missing_interpreters = True
44
minversion = 2.4.0
55

6+
[gh-actions]
7+
python =
8+
2.7: py27
9+
3.6: py36
10+
3.7: py37
11+
3.8: py38
12+
3.9: py39
13+
614
[testenv]
715
passenv = USERPROFILE HOMEDRIVE HOMEPATH PYTHONWARNINGS
816
usedevelop = True

0 commit comments

Comments
 (0)