Skip to content

Merge pull request #5920 from cliping/fix-str #8705

Merge pull request #5920 from cliping/fix-str

Merge pull request #5920 from cliping/fix-str #8705

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
travis-check:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
fail-fast: false
steps:
- run: echo "Job triggered by a ${{ github.event_name }} event on branch is ${{ github.ref }} in repository is ${{ github.repository }}"
- name: Check out repository code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: pip install --upgrade pip
- name: Install dependencies
run: |
pip install sphinx${SPHINX_VERSION:+==$SPHINX_VERSION}
pip install -r requirements-travis.txt
- name: Run inspekt
run: inspekt checkall --disable-style E501,E265,W601,W605,E402,E722,E741 --disable-lint W,R,C,E1002,E1101,E1103,E1120,F0401,I0011,E0601,E0602,E0606 --no-license-check
- run: echo "This job's status is ${{ job.status }}."
- name: Run spellchecker
run: |
set +e
pylint --errors-only --disable=all --enable=spelling --spelling-dict=en_US --spelling-private-dict-file=spell.ignore *
exitcode=$?
set -e
test $exitcode == 32 -o $exitcode == 0