Skip to content

Commit

Permalink
Merge pull request autotest#5813 from smitterl/fix_travis
Browse files Browse the repository at this point in the history
requirements-travis: fix dependencies
  • Loading branch information
chunfuwen authored Jul 29, 2024
2 parents 5672adb + 08a8446 commit 022c871
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,19 @@ jobs:
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 --no-license-check
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: pylint --errors-only --disable=all --enable=spelling --spelling-dict=en_US --spelling-private-dict-file=spell.ignore *
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
12 changes: 8 additions & 4 deletions requirements-travis.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
coverage==5.1
nose==1.3.0
nosexcover==1.0.8
tox==1.5.0
virtualenv==1.9.1
tox==1.5.0; python_version < '3.8'
tox==4.16.0; python_version > '3.7'
virtualenv==1.9.1; python_version < '3.8'
virtualenv==20.26.3; python_version > '3.7'
simplejson==3.8.1
inspektor==0.5.2
pylint==2.11.1
inspektor==0.5.2; python_version < '3.8'
inspektor==0.5.3; python_version > '3.7'
pylint==2.11.1; python_version < '3.8'
pylint==3.2.6; python_version > '3.7'
pyenchant
importlib-metadata==4.13.0; python_version == '3.7'

0 comments on commit 022c871

Please sign in to comment.