rmm commited on
Commit
0de1f63
·
1 Parent(s): 05b3cf6

CI: filter out visual tests; temp add this branch to verify

Browse files
.github/workflows/python-pycov-onPR.yml CHANGED
@@ -24,10 +24,10 @@ jobs:
24
  if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi
25
 
26
  - name: Build coverage files for mishakav commenter action
27
- # note this will run all tests, including the slow end2end ones
28
  # - this action is only on PR; the slow ones are skipped on push.
29
  run: |
30
- pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=src tests/ | tee pytest-coverage.txt
31
  echo "working dir:" && pwd
32
  echo "files in cwd:" && ls -ltr
33
 
 
24
  if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi
25
 
26
  - name: Build coverage files for mishakav commenter action
27
+ # note this will run all non-visual tests, including the slow end2end ones
28
  # - this action is only on PR; the slow ones are skipped on push.
29
  run: |
30
+ pytest -m "not visual" --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=src tests/ | tee pytest-coverage.txt
31
  echo "working dir:" && pwd
32
  echo "files in cwd:" && ls -ltr
33
 
.github/workflows/python-pytest.yml CHANGED
@@ -5,7 +5,7 @@ name: Execute tests with pytest
5
 
6
  on:
7
  push:
8
- branches: [ "dev" ]
9
  pull_request:
10
  branches: [ "dev", "main" ]
11
  permissions:
@@ -33,4 +33,4 @@ jobs:
33
  # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
34
  - name: Run quick tests with pytest
35
  run: |
36
- pytest -m "not end2end_slow"
 
5
 
6
  on:
7
  push:
8
+ branches: [ "dev" , "feat/stateful-workflow"]
9
  pull_request:
10
  branches: [ "dev", "main" ]
11
  permissions:
 
33
  # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
34
  - name: Run quick tests with pytest
35
  run: |
36
+ pytest -m "not slow and not visual" --strict-markers