Skip to content

Commit ea02ed1

Browse files
Port CI to GitHub Actions
Signed-off-by: Robbie Harwood <[email protected]>
1 parent 4dfbf75 commit ea02ed1

File tree

5 files changed

+36
-41
lines changed

5 files changed

+36
-41
lines changed

.github/workflows/ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "Build",
3+
"on": { "pull_request": null },
4+
"jobs": {
5+
"linux": {
6+
"runs-on": "ubuntu-latest",
7+
"strategy": {
8+
"fail-fast": false,
9+
"matrix": {
10+
"python": [
11+
"3.6",
12+
"3.7",
13+
"3.8",
14+
"3.9",
15+
],
16+
},
17+
},
18+
"steps": [
19+
{ "uses": "actions/checkout@v2" },
20+
{
21+
"uses": "actions/setup-python@v2",
22+
"with": { "python-version": "${{ matrix.python }}"},
23+
},
24+
{ "run": "sudo apt update" },
25+
{ "run": "sudo apt install -y libkrb5-dev" },
26+
{ "run": "pip install flake8" },
27+
{ "run": "pip install -r requirements.txt" },
28+
{ "run": "python3 -m unittest" },
29+
{
30+
"run": "flake8",
31+
"if": "${{ matrix['python'] == 3.9 }}",
32+
},
33+
],
34+
},
35+
},
36+
}

.travis.install.sh

-9
This file was deleted.

.travis.sh

-7
This file was deleted.

.travis.yml

-11
This file was deleted.

tox.ini

-14
This file was deleted.

0 commit comments

Comments
 (0)