Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
ci: run the 'unit_wo_grpc' unit tests for coverage
  • Loading branch information
tseaver committed Nov 18, 2021
commit dfa5ca8684569eca3bfddef522e0d886658adee7
15 changes: 11 additions & 4 deletions .github/workflows/unittest_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
w_grcp_gcp: ["", "_grpc_gcp"]
option: ["", "_grpc_gcp", "_wo_grpc"]
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
exclude:
- option: "_wo_grpc"
python: 3.7
- option: "_wo_grpc"
python: 3.8
- option: "_wo_grpc"
python: 3.9

steps:

Expand All @@ -67,15 +74,15 @@ jobs:

- name: Run unit tests
env:
COVERAGE_FILE: .coverage${{ matrix.w_grcp_gcp }}-${{matrix.python }}
COVERAGE_FILE: .coverage${{ matrix.option }}-${{matrix.python }}
run: |
nox -s unit${{ matrix.w_grcp_gcp }}-${{ matrix.python }}
nox -s unit${{ matrix.option }}-${{ matrix.python }}

- name: Upload coverage results
uses: actions/upload-artifact@v2
with:
name: coverage-artifacts
path: .coverage${{ matrix.w_grcp_gcp }}-${{ matrix.python }}
path: .coverage${{ matrix.option }}-${{ matrix.python }}

report-coverage:
runs-on: ubuntu-latest
Expand Down