diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8c1ae4bd3..e5b0306b3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,10 +14,12 @@ jobs: - python-version: "3.11" env: TOXENV: flake8 - # Pylint requires installing reppy, which does not support Python 3.9 - # https://github.com/seomoz/reppy/issues/122 + # Pylint requires installing reppy, which: + # - Does not support Python 3.9: https://github.com/seomoz/reppy/issues/122 + # - Requires CLang to build https://github.com/seomoz/reppy/issues/132 - python-version: 3.8 env: + CC: clang TOXENV: pylint - python-version: 3.7 env: @@ -37,6 +39,12 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Set up Clang + uses: egor-tensin/setup-clang@v1 + with: + version: latest + platform: x64 + - name: Run check env: ${{ matrix.env }} run: | diff --git a/.github/workflows/tests-ubuntu.yml b/.github/workflows/tests-ubuntu.yml index 9c3ce8115..4ad722ad5 100644 --- a/.github/workflows/tests-ubuntu.yml +++ b/.github/workflows/tests-ubuntu.yml @@ -38,11 +38,12 @@ jobs: env: TOXENV: pypy3-pinned - # extras - # extra-deps includes reppy, which does not support Python 3.9 - # https://github.com/seomoz/reppy/issues/122 + # extra-deps includes reppy, which: + # - Does not support Python 3.9: https://github.com/seomoz/reppy/issues/122 + # - Requires CLang to build https://github.com/seomoz/reppy/issues/132 - python-version: 3.8 env: + CC: clang TOXENV: extra-deps steps: @@ -59,6 +60,12 @@ jobs: sudo apt-get update sudo apt-get install libxml2-dev libxslt-dev + - name: Set up Clang + uses: egor-tensin/setup-clang@v1 + with: + version: latest + platform: x64 + - name: Run tests env: ${{ matrix.env }} run: |