comparison .github/workflows/ci.yml @ 25830:e2d74d655b75 v8.2.3450

patch 8.2.3450: coveralls action fails Commit: https://github.com/vim/vim/commit/18fefddcb023db3c8461953892650b0c5f0cc9fe Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 19 17:55:16 2021 +0200 patch 8.2.3450: coveralls action fails Problem: Coveralls action fails. Solution: Disable it for now.
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Sep 2021 18:00:04 +0200
parents bdda48f01a68
children 8e9864b98846
comparison
equal deleted inserted replaced
25829:7f4f44c01742 25830:e2d74d655b75
199 timeout-minutes: 20 199 timeout-minutes: 20
200 run: | 200 run: |
201 do_test() { sg audio "sg $(id -gn) '$*'"; } 201 do_test() { sg audio "sg $(id -gn) '$*'"; }
202 do_test make ${SHADOWOPT} ${TEST} 202 do_test make ${SHADOWOPT} ${TEST}
203 203
204 - name: Coveralls 204 # - name: Coveralls
205 if: matrix.coverage && success() && github.event_name != 'pull_request' 205 # if: matrix.coverage && success() && github.event_name != 'pull_request'
206 env: 206 # env:
207 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} 207 # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
208 COVERALLS_PARALLEL: true 208 # COVERALLS_PARALLEL: true
209 TRAVIS_JOB_ID: ${{ github.run_id }} 209 # TRAVIS_JOB_ID: ${{ github.run_id }}
210 run: | 210 # run: |
211 sudo apt-get install -y python3-setuptools python3-wheel 211 # sudo apt-get install -y python3-setuptools python3-wheel
212 sudo -H pip3 install pip -U 212 # sudo -H pip3 install pip -U
213 # needed for https support for coveralls building cffi only works with gcc, not with clang 213 # # needed for https support for coveralls building cffi only works with gcc, not with clang
214 CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1 214 # CC=gcc pip3 install --user cpp-coveralls pyopenssl ndg-httpsclient pyasn1
215 ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8 215 # ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
216 216
217 - name: Codecov 217 - name: Codecov
218 if: matrix.coverage && success() 218 if: matrix.coverage && success()
219 run: | 219 run: |
220 cd "${SRCDIR}" 220 cd "${SRCDIR}"
226 for f in $(grep -lR '#[[:digit:]]* *0x[[:digit:]a-fA-F]*' "${LOG_DIR}"); do 226 for f in $(grep -lR '#[[:digit:]]* *0x[[:digit:]a-fA-F]*' "${LOG_DIR}"); do
227 asan_symbolize-11 -l "$f" 227 asan_symbolize-11 -l "$f"
228 false # in order to fail a job 228 false # in order to fail a job
229 done 229 done
230 230
231 coveralls: 231 # coveralls:
232 runs-on: ubuntu-18.04 232 # runs-on: ubuntu-18.04
233 233 #
234 needs: linux 234 # needs: linux
235 if: always() && github.event_name != 'pull_request' 235 # if: always() && github.event_name != 'pull_request'
236 236 #
237 steps: 237 # steps:
238 - name: Parallel finished 238 # - name: Parallel finished
239 env: 239 # env:
240 COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} 240 # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
241 run: | 241 # run: |
242 curl -k "https://coveralls.io/webhook?repo_token=${COVERALLS_REPO_TOKEN}" -d "payload[build_num]=${GITHUB_RUN_ID}&payload[status]=done" 242 # curl -k "https://coveralls.io/webhook?repo_token=${COVERALLS_REPO_TOKEN}" -d "payload[build_num]=${GITHUB_RUN_ID}&payload[status]=done"
243 243
244 macos: 244 macos:
245 runs-on: macos-latest 245 runs-on: macos-latest
246 246
247 env: 247 env: