Skip to content

Commit 2c85251

Browse files
authored
Sem-Ver: bugfix Add github actions for CI
Signed-off-by: David Black <[email protected]>
1 parent 7187b82 commit 2c85251

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: [3.5, 3.6, 3.7, 3.8]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip wheel
22+
pip install -q pycodestyle==2.6.0 flake8==3.8.1
23+
- name: Lint
24+
run: |
25+
pycodestyle .
26+
flake8 .
27+
- name: Test
28+
run: |
29+
pip install wheel
30+
pip install -r requirements.txt
31+
pip install -r test-requirements.txt
32+
python -Wd setup.py nosetests

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Atlassian JWT authentication
44

55
.. image:: https://img.shields.io/travis/atlassian/asap-authentication-python/master.svg?label=Linux%20build%20%40%20Travis%20CI
66
:target: http://travis-ci.org/atlassian/asap-authentication-python
7+
.. image:: https://github.com/atlassian/asap-authentication-python/workflows/Tests/badge.svg
78
.. image:: https://img.shields.io/pypi/v/atlassian-jwt-auth.svg
89
:target: https://pypi.org/project/atlassian-jwt-auth
910

0 commit comments

Comments
 (0)