CI: Add a unit-test without collecting coverage (tired of codecov failures)
authorAlexander Popov <alex.popov@linux.com>
Thu, 2 May 2024 12:50:53 +0000 (15:50 +0300)
committerAlexander Popov <alex.popov@linux.com>
Thu, 2 May 2024 12:50:53 +0000 (15:50 +0300)
.github/workflows/engine_unit-test_no_coverage.yml [new file with mode: 0644]

diff --git a/.github/workflows/engine_unit-test_no_coverage.yml b/.github/workflows/engine_unit-test_no_coverage.yml
new file mode 100644 (file)
index 0000000..673b243
--- /dev/null
@@ -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