Skip to content

Commit

Permalink
feat: Update ci.yml to run integration tests
Browse files Browse the repository at this point in the history
- Setup Chrome
- Install and run Chrome driver
- Run tests including integration tests
  • Loading branch information
farhan committed Sep 11, 2023
1 parent 14e6121 commit f6c6698
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,17 @@ jobs:
- name: Install Dependencies
run: pip install -r requirements/ci.txt

- uses: browser-actions/setup-chrome@latest
- run: chrome --version

- uses: nanasess/setup-chromedriver@master

- name: Run Tests
run: tox -e ${{ matrix.toxenv }}
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
tox -e ${{ matrix.toxenv }}
- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv == 'django42'
Expand Down

0 comments on commit f6c6698

Please sign in to comment.