Skip to content

Commit edee372

Browse files
authored
Merge pull request #117 from kozistr/ci/github-action
[CI] test workflow
2 parents c9e38f6 + cbd4054 commit edee372

File tree

4 files changed

+71
-66
lines changed

4 files changed

+71
-66
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
env:
10+
OMP_NUM_THREADS: 2
11+
MKL_NUM_THREADS: 2
12+
913
jobs:
1014
test:
1115
runs-on: ubuntu-latest
@@ -30,9 +34,10 @@ jobs:
3034
- name: Check lint
3135
run: make check
3236
- name: Check test
33-
run: |
34-
export PYTHONDONTWRITEBYTECODE=1
35-
make test
37+
env:
38+
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
39+
PYTHONDONTWRITEBYTECODE: 1
40+
run: make test
3641
- name: Check codecov
3742
uses: codecov/codecov-action@v3
3843
with:

poetry.lock

Lines changed: 59 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)