3 on: [pull_request, push]
9 - name: Dump GitHub context
11 GITHUB_CONTEXT: ${{ toJson(github) }}
12 run: echo "$GITHUB_CONTEXT"
13 - name: Translate Repo Name For Build Tools filename_prefix
16 echo ::set-output name=repo-name::Adafruit-Blinka-displayio
17 - name: Set up Python 3.6
18 uses: actions/setup-python@v1
24 - name: Checkout Current Repo
25 uses: actions/checkout@v1
28 - name: Checkout tools repo
29 uses: actions/checkout@v2
31 repository: adafruit/actions-ci-circuitpython-libs
33 - name: Install dependencies
34 # (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
36 source actions-ci/install.sh
37 - name: Pip install pylint, black, & Sphinx
39 pip install --force-reinstall pylint black Sphinx sphinx-rtd-theme
40 - name: Library version
41 run: git describe --dirty --always --tags
42 - name: Check formatting
44 black --check --target-version=py35 .
47 pylint $( find . -path './*io/*.py' )
48 pylint $( find . -path './*io.py' )
50 working-directory: docs
51 run: sphinx-build -E -W -b html . _build/html