Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use coveralls github action instead of manual coveralls #1131

Merged
merged 3 commits into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading