diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcc06af5..b0c0f66e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,8 @@ jobs: #spellintian, nosetests, karma, lint, closure-compiler, steps: - uses: actions/checkout@master + - name: Update package database + run: sudo apt-get update -y - name: Install dependencies env: TASK: ${{ matrix.task }} @@ -21,12 +23,10 @@ jobs: if [ "$TASK" = "flake8" -o "$TASK" = "flake8-wip" ]; then pip install flake8; fi # If this causes SSL errors, then Sourceforge is probably in disaster recovery mode and needing Javascript. Could switch to a specific mirror, e.g. kent.dl.sourceforge.net if [ "$TASK" = "pychecker" -o "$TASK" = "pychecker-wip" ]; then pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download; fi - #if [ "$TASK" = "codespell" ]; then pip install git+https://github.com/codespell-project/codespell.git; fi - if [ "$TASK" = "codespell" ]; then pip install codespell; fi - sudo apt-get install xvfb - sudo apt-get install libhtml-parser-perl - sudo apt-get install lintian - sudo apt-get install moreutils + if [ "$TASK" = "codespell" ]; then sudo apt-get -y install python3-pip git; fi + if [ "$TASK" = "codespell" ]; then python3 -m pip install --no-input git+https://github.com/codespell-project/codespell.git; fi + #if [ "$TASK" = "codespell" ]; then pip install codespell; fi + sudo apt-get install -y xvfb libhtml-parser-perl lintian moreutils - uses: codespell-project/codespell-problem-matcher@v1 - name: Test env: