Skip to content

Commit 26723e7

Browse files
committed
build(ci): testmarker
1 parent 2462bc7 commit 26723e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ['3.11']
19+
testmarker: ['train', 'utils', 'gradient', 'lr_scheduler', 'cfg']
1920

2021
steps:
2122
- uses: actions/checkout@v3
@@ -37,7 +38,7 @@ jobs:
3738
env:
3839
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
3940
PYTHONDONTWRITEBYTECODE: 1
40-
run: make test
41+
run: pytest -p no:pastebin -p no:nose -p no:doctest -sv -vv --cov=pytorch_optimizer --cov-report=xml -m ${{ matrix.testmarker }} tests
4142
- name: Check codecov
4243
uses: codecov/codecov-action@v3
4344
with:

0 commit comments

Comments
 (0)