@@ -3,38 +3,47 @@ name: Arduino Library CI
33on : [pull_request, push, repository_dispatch]
44
55jobs :
6- build :
7- strategy :
8- fail-fast : false
9- matrix :
10- arduino-platform : ["uno", "cpx_ada", "pyportal"]
11-
6+ pylint :
127 runs-on : ubuntu-latest
13-
8+ # needs: build
149 steps :
15- - uses : actions/setup-python@v1
16- with :
17- python-version : ' 3.x'
18- - uses : actions/checkout@v2
19- - uses : actions/checkout@v2
10+ - name : Set up Python 3.6
11+ uses : actions/setup-python@v1
2012 with :
21- repository : adafruit/ci-arduino
22- path : ci
23-
24- - name : pre-install
25- run : bash ci/actions_install.sh
26-
27- - name : test platforms
28- run : python3 ci/build_platform.py ${{ matrix.arduino-platform }}
29-
30- python pylint :
31- runs-on : ubuntu-latest
32- needs : build
33- steps :
34- - uses : actions/setup-python@v1
35- with :
36- python-version : ' 3.x'
37- - uses : actions/checkout@v2
13+ python-version : 3.6
14+ - name : Versions
15+ run : |
16+ python3 --version
17+ - name : Pip install pylint, black, & Sphinx
18+ run : |
19+ pip install --force-reinstall pylint==1.9.2
20+ - name : Checkout Current Repo
21+ uses : actions/checkout@v2
3822
3923 - name : lint
40- run : ./pylint_check
24+ run : ./pylint_check.sh
25+
26+ # build:
27+ # strategy:
28+ # fail-fast: false
29+ # matrix:
30+ # arduino-platform: ["uno", "cpx_ada", "pyportal"]
31+ #
32+ # runs-on: ubuntu-latest
33+ #
34+ # steps:
35+ # - uses: actions/setup-python@v1
36+ # with:
37+ # python-version: '3.x'
38+ # - uses: actions/checkout@v2
39+ # - uses: actions/checkout@v2
40+ # with:
41+ # repository: adafruit/ci-arduino
42+ # path: ci
43+ #
44+ # - name: pre-install
45+ # run: bash ci/actions_install.sh
46+ #
47+ # - name: test platforms
48+ # run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
49+ #
0 commit comments