Skip to content

Commit

Permalink
Enable Xvfb in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Oct 1, 2020
1 parent 7e8d080 commit bde3902
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ jobs:
shell: docker exec -i ci bash -i -e {0}
run: pip install -e .

- name: Enable Xvfb
shell: docker exec -i ci bash -i -e {0}
run: |
apt-get update && apt-get install -y xvfb
pip install pytest-xvfb
- name: Python Tests [ScenarI/O]
shell: docker exec -i ci bash -i -e {0}
run: |
Expand Down Expand Up @@ -158,6 +164,12 @@ jobs:
cd dist
pip install -v *.whl
- name: Enable Xvfb
shell: docker exec -i ci bash -i -e {0}
run: |
apt-get update && apt-get install -y xvfb
pip install pytest-xvfb
- name: Python Tests [ScenarI/O]
shell: docker exec -i ci bash -i -e {0}
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ jobs:
ls
pip -v install *
- name: Enable Xvfb
shell: docker exec -i ci bash -i -e {0}
run: |
apt-get update && apt-get install -y xvfb
pip install pytest-xvfb
- name: Python Tests
shell: docker exec -i pypi bash -i -e {0}
run: |
Expand Down

0 comments on commit bde3902

Please sign in to comment.