From: Alexander Popov Date: Thu, 2 May 2024 12:50:53 +0000 (+0300) Subject: CI: Add a unit-test without collecting coverage (tired of codecov failures) X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=602dc4836f743efb1494309cfcc80b3591debe26;p=kconfig-hardened-check.git CI: Add a unit-test without collecting coverage (tired of codecov failures) --- diff --git a/.github/workflows/engine_unit-test_no_coverage.yml b/.github/workflows/engine_unit-test_no_coverage.yml new file mode 100644 index 0000000..673b243 --- /dev/null +++ b/.github/workflows/engine_unit-test_no_coverage.yml @@ -0,0 +1,32 @@ +name: engine unit-test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + engine_unit-test: + + runs-on: ubuntu-latest + + strategy: + max-parallel: 1 + fail-fast: false + matrix: + python-version: ['3.12'] + + steps: + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Get the source code + uses: actions/checkout@v4 + + - name: Run unit-tests + run: | + python -m unittest -v -b