From d2906ad19da2006ea7aa0dd5848aa8c9f484ffb1 Mon Sep 17 00:00:00 2001 From: Dushyant Bhatnagar Date: Thu, 4 Jan 2024 11:06:01 -0800 Subject: [PATCH 1/3] Use coveralls github action instead of manual coveralls Coveralls is failing on recent runs so lets migrate to the current latest way to use it. --- .github/workflows/continuous_integration.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index de16f20ce..cf053b9e7 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -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 @@ -47,10 +46,8 @@ 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/github-action@v2.2.3 web_ui: runs-on: ubuntu-latest From 161ef69742274fcf473a828b701079fa2771c799 Mon Sep 17 00:00:00 2001 From: Dushyant Bhatnagar Date: Thu, 4 Jan 2024 11:10:28 -0800 Subject: [PATCH 2/3] Update continuous_integration.yml --- .github/workflows/continuous_integration.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index cf053b9e7..e913a06dd 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -48,6 +48,8 @@ jobs: run: tox - name: Publish to Coveralls with GitHub Action uses: coverallsapp/github-action@v2.2.3 + with: + parallel: true web_ui: runs-on: ubuntu-latest From 1e5198da7ed54b11394b29715aadf11cf9dc4239 Mon Sep 17 00:00:00 2001 From: Dushyant Bhatnagar Date: Thu, 4 Jan 2024 12:32:07 -0800 Subject: [PATCH 3/3] Update continuous_integration.yml --- .github/workflows/continuous_integration.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index e913a06dd..8c9d4c016 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -50,6 +50,7 @@ jobs: uses: coverallsapp/github-action@v2.2.3 with: parallel: true + flag-name: python-${{ matrix.python-version }} web_ui: runs-on: ubuntu-latest @@ -61,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