Skip to content

Commit fdb820b

Browse files
committed
add explicit skip config for sdk specific tests
1 parent 34e8789 commit fdb820b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish-sdk.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ jobs:
4343
4444
- name: Run tests
4545
run: |
46-
python run_sdk_tests.py
46+
# Run mypy
47+
mypy dataspace_sdk/ --ignore-missing-imports --config-file=/dev/null
48+
# Run pytest
49+
pytest tests/test_auth.py tests/test_base.py tests/test_client.py tests/test_datasets.py tests/test_aimodels.py tests/test_usecases.py tests/test_exceptions.py -v -p no:django -o addopts= --override-ini=django_find_project=false --noconftest --cov=dataspace_sdk --cov-report=term-missing
4750
4851
- name: Build package
4952
run: |

.github/workflows/sdk-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
2929
- name: Run type checking with mypy
3030
run: |
31-
mypy dataspace_sdk/ --ignore-missing-imports
31+
mypy dataspace_sdk/ --ignore-missing-imports --config-file=/dev/null
3232
3333
- name: Run tests with pytest
3434
run: |
35-
pytest tests/ -v --cov=dataspace_sdk --cov-report=term-missing --cov-report=xml
35+
pytest tests/test_auth.py tests/test_base.py tests/test_client.py tests/test_datasets.py tests/test_aimodels.py tests/test_usecases.py tests/test_exceptions.py -v -p no:django -o addopts= --override-ini=django_find_project=false --noconftest --cov=dataspace_sdk --cov-report=term-missing --cov-report=xml
3636
3737
- name: Upload coverage to Codecov
3838
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)