You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run tests marked with notebook marker in examples workflow (#1146)
* Run tf notebook tests if tf-examples
* same for gpu tests
* trigger example tests
* Same for 'chagned' workflows
* change marker: example -> examples
* more example -> examples
Copy file name to clipboardExpand all lines: .github/workflows/gpu.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ jobs:
34
34
if [[ "${{ github.ref }}" != 'refs/heads/main' ]]; then
35
35
extra_pytest_markers="and changed"
36
36
fi
37
-
cd ${{ github.workspace }}; PYTEST_MARKERS="unit and not (example or integration) $extra_pytest_markers" MERLIN_BRANCH=$branch COMPARE_BRANCH=${{ github.base_ref }} tox -e py38-gpu
37
+
cd ${{ github.workspace }}; PYTEST_MARKERS="unit and not (examples or integration or notebook) $extra_pytest_markers" MERLIN_BRANCH=$branch COMPARE_BRANCH=${{ github.base_ref }} tox -e py38-gpu
38
38
39
39
tests-examples:
40
40
runs-on: 1GPU
@@ -55,4 +55,4 @@ jobs:
55
55
if [[ "${{ github.ref }}" != 'refs/heads/main' ]]; then
Copy file name to clipboardExpand all lines: Makefile
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,12 @@ tests-changed:
22
22
coverage html --include 'merlin/models/*'
23
23
24
24
tests-tf:
25
-
coverage run -m pytest --durations=100 --dist=loadfile --numprocesses=auto -rsx tests -m "tensorflow and not (integration or example)"||exit 1
25
+
coverage run -m pytest --durations=100 --dist=loadfile --numprocesses=auto -rsx tests -m "tensorflow and not (integration or examples or notebook)"||exit 1
26
26
coverage report --include 'merlin/models/*'
27
27
coverage html --include 'merlin/models/*'
28
28
29
29
tests-tf-examples:
30
-
coverage run -m pytest -rsx tests -m "tensorflow and example"||exit 1
30
+
coverage run -m pytest -rsx tests -m "tensorflow and (examples or notebook)"||exit 1
31
31
coverage report --include 'merlin/models/*'
32
32
coverage html --include 'merlin/models/*'
33
33
@@ -37,12 +37,12 @@ tests-tf-integration:
37
37
coverage html --include 'merlin/models/*'
38
38
39
39
tests-tf-changed:
40
-
coverage run -m pytest --durations=100 --dist=loadfile --numprocesses=auto -rsx tests -m "tensorflow and changed and not (integration or example) or always"||exit 1
40
+
coverage run -m pytest --durations=100 --dist=loadfile --numprocesses=auto -rsx tests -m "tensorflow and changed and not (integration or examples or notebook) or always"||exit 1
41
41
coverage report --include 'merlin/models/*'
42
42
coverage html --include 'merlin/models/*'
43
43
44
44
tests-tf-examples-changed:
45
-
coverage run -m pytest -rsx tests -m "tensorflow and changed and example"||exit 1
45
+
coverage run -m pytest -rsx tests -m "tensorflow and changed and (examples or notebook)"||exit 1
0 commit comments