Skip to content

Commit

Permalink
change test order
Browse files Browse the repository at this point in the history
  • Loading branch information
piket committed Nov 3, 2023
1 parent a1c3105 commit cd95c6b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
# - name: Increase swapfile
# # Increase ubuntu's swapfile to avoid running out of resources which causes the action to terminate
# if: startsWith(matrix.os, 'ubuntu')
# run: |
# sudo swapoff -a
# sudo fallocate -l 8G /swapfile
# sudo chmod 600 /swapfile
# sudo mkswap /swapfile
# sudo swapon /swapfile
# sudo swapon --show
- name: Increase swapfile
# Increase ubuntu's swapfile to avoid running out of resources which causes the action to terminate
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo swapoff -a
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
- uses: actions/checkout@v2
- name: Setup Python
id: setup-python
Expand Down Expand Up @@ -91,8 +91,8 @@ jobs:
run: make install-python-ci-dependencies
- name: Test Python
run: |
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --ignore=sdk/python/tests/expediagroup
pytest -n 1 --cov=./ --cov-report=xml --color=yes sdk/python/tests/expediagroup
pytest -n 8 --cov=./ --cov-report=xml --color=yes sdk/python/tests --ignore=sdk/python/tests/expediagroup
unit-test-go:
runs-on: ubuntu-latest
Expand Down

0 comments on commit cd95c6b

Please sign in to comment.