Skip to content

Commit

Permalink
Add xdist collection to PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mshriver committed Aug 24, 2021
1 parent 74e5e2b commit 436941d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
pytest --collect-only --disable-pytest-warnings -m pre_upgrade tests/upgrades/
pytest --collect-only --disable-pytest-warnings -m post_upgrade tests/upgrades/
- name: Collect Tests with xdist
run: |
pytest --collect-only --disable-pytest-warnings -n 2 tests/foreman/ tests/robottelo/
pytest --collect-only --disable-pytest-warnings -n 2 -m pre_upgrade tests/upgrades/
pytest --collect-only --disable-pytest-warnings -n 2 -m post_upgrade tests/upgrades/
- name: Test Robottelo Coverage
run: pytest --cov --cov-config=.coveragerc --cov-report=xml tests/robottelo

Expand Down

0 comments on commit 436941d

Please sign in to comment.