Skip to content

Commit

Permalink
Use coveralls github action with parallel enabled (#1131)
Browse files Browse the repository at this point in the history
* Use coveralls github action with parallel enabled instead of manual coveralls

Coveralls is failing on recent runs so lets migrate to the current latest way to use it.
  • Loading branch information
dbhatman authored Jan 4, 2024
1 parent 7573009 commit e4a844c
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
pip install coveralls
wget https://github.com/protocolbuffers/protobuf/releases/download/v21.6/protoc-21.6-linux-x86_64.zip
unzip protoc-21.6-linux-x86_64.zip
sudo cp bin/protoc /usr/bin/protoc && sudo chmod 777 /usr/bin/protoc
Expand All @@ -47,10 +46,11 @@ jobs:
sudo apt-get install -y libusb-1.0-0-dev libprotobuf-dev swig
- name: Test with tox
run: tox
- name: Publish to coveralls.io
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: coveralls --service=github
- name: Publish to Coveralls with GitHub Action
uses: coverallsapp/[email protected]
with:
parallel: true
flag-name: python-${{ matrix.python-version }}

web_ui:
runs-on: ubuntu-latest
Expand All @@ -62,3 +62,13 @@ jobs:
- uses: actions/setup-node@v3
- run: npm install
- run: npm run build

finish:
needs: build_and_test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true

0 comments on commit e4a844c

Please sign in to comment.