File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ lint :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Repository checkout
16+ uses : actions/checkout@v2
17+
18+ - name : Set up Python
19+ uses : actions/setup-python@v2
20+ with :
21+ python-version : " 3.6"
22+
23+ - name : Install dependencies
24+ run : |
25+ pip install --upgrade pip tox
26+
27+ - name : Lint
28+ run : |
29+ tox -e lint
30+
31+ test :
32+ runs-on : ubuntu-latest
33+ strategy :
34+ matrix :
35+ python-version :
36+ - " 3.6"
37+ - " 3.7"
38+ - " 3.8"
39+ steps :
40+ - name : Repository checkout
41+ uses : actions/checkout@v2
42+
43+ - name : Set up Python
44+ uses : actions/setup-python@v2
45+ with :
46+ python-version : ${{ matrix.python-version }}
47+
48+ - name : Install dependencies
49+ run : |
50+ pip install --upgrade pip tox codecov
51+
52+ - name : Test
53+ run : |
54+ tox -e py
55+ codecov
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33Python client API library made especially for [MAAS][].
44
5- [](https://travis-ci.org /maas/python-libmaas)
5+ [](https://github.com /maas/python-libmaas/actions?query=workflow%3A%22CI+tests%22 )
66[](https://codecov.io/github/maas/python-libmaas?branch=master)
77
88
@@ -11,9 +11,9 @@ Python client API library made especially for [MAAS][].
1111All the dependencies are declared in `setup.py` so this can be installed
1212with [pip](https://pip.pypa.io/). Python 3.5+ is required.
1313
14- When working from trunk it can be helpful to use ` virtualenv` :
14+ When working from master it can be helpful to use a virtualenv:
1515
16- $ virtualenv --python=python3 amc && source amc /bin/activate
16+ $ python3 -m venv ve && source ve /bin/activate
1717 $ pip install git+https://github.com/maas/python-libmaas.git
1818 $ maas --help
1919
You can’t perform that action at this time.
0 commit comments