Skip to content

Commit d8bbbf2

Browse files
ulyssessouzaUlysses Souza
authored andcommitted
Add Github Actions
Signed-off-by: Ulysses Souza <[email protected]>
1 parent 1757c97 commit d8bbbf2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
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: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
max-parallel: 1
10+
matrix:
11+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
12+
13+
steps:
14+
- uses: actions/checkout@v1
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
22+
pip install tox tox-gh-actions==2.2.0
23+
- name: Test with tox
24+
run: |
25+
docker logout
26+
rm -rf ~/.docker
27+
tox

0 commit comments

Comments
 (0)