Skip to content

Commit

Permalink
Bump awb version to support new nb backend
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Nov 30, 2022
1 parent ec1e4a4 commit 1999af5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/di.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,21 @@ jobs:
- name: Set jupyter token env
run: echo "JUPYTER_TOKEN=$(openssl rand -hex 32)" >> $GITHUB_ENV

- name: Install Firefox geckodriver
# The Firefox and its engine geckodrive need do be installed manually to run
# selenium tests.
- name: Install Firefox
uses: browser-actions/setup-firefox@latest
with:
firefox-version: ${{ matrix.firefox }}
if: matrix.browser == 'Firefox'

- name: Install geckodriver
run: |
wget -c https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz
tar xf geckodriver-v0.30.0-linux64.tar.gz -C /usr/local/bin
if: matrix.browser == 'Firefox'

- name: Run pytest
run: |
pytest --driver ${{ matrix.browser }}
run: pytest --driver ${{ matrix.browser }}
env:
TAG: ${{ matrix.tag }}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install_requires =
aiida-core~=2.1
aiida-quantumespresso~=4.1
aiidalab-qe-workchain@https://github.com/aiidalab/aiidalab-qe/releases/download/v22.11.2a0/aiidalab_qe_workchain-22.11.2a0-py3-none-any.whl
aiidalab-widgets-base==2.0.0a1
aiidalab-widgets-base==2.0.0a2
filelock~=3.8
importlib-resources~=5.2.2
numpy~=1.23
Expand Down
2 changes: 0 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import shutil
from urllib.parse import urljoin

import pytest
Expand Down Expand Up @@ -66,7 +65,6 @@ def _selenium_driver(nb_path, wait_time=5.0):
@pytest.fixture
def firefox_options(firefox_options):
firefox_options.add_argument("--headless")
firefox_options.binary = shutil.which("firefox")
return firefox_options


Expand Down

0 comments on commit 1999af5

Please sign in to comment.