From 602dc4836f743efb1494309cfcc80b3591debe26 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 2 May 2024 15:50:53 +0300 Subject: [PATCH] CI: Add a unit-test without collecting coverage (tired of codecov failures) --- .../engine_unit-test_no_coverage.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/engine_unit-test_no_coverage.yml 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 -- 2.31.1