Skip to content

Commit

Permalink
Fix build (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Pirkl <christoph.pirkl@exasol.com>
Co-authored-by: Nicola Coretti <nico.coretti@gmail.com>
  • Loading branch information
3 people authored Oct 11, 2023
1 parent 399467f commit dcf9145
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
run_unit_tests:
environment: AWS
environment: AWS_CI_TESTS
runs-on: ubuntu-latest

steps:
Expand All @@ -18,7 +18,7 @@ jobs:
uses: ./.github/actions/prepare_poetry_env

- name: Run pytest
run: poetry run pytest
run: poetry run pytest test/test_install_dependencies.py
env: # Set the secret as an env variable
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:

build_and_upload:
environment: AWS
environment: AWS_CI_TESTS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.pytest_cache
dist
__pycache__/
__pycache__/
/TAGS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
apt_dependencies:
- apt-transport-https=2.0.9
- ca-certificates=20230311ubuntu0.20.04.1
- software-properties-common=0.99.9.11
- software-properties-common=0.99.9.12
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jupyterlab==3.4.3
jupyterlab==4.0.6
# enable interactive Javascript widgets in the notebooks
ipywidgets==7.7.1
ipywidgets==8.1.1
pexpect==4.8.0
pyexasol==0.16.1
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
---

- name: Enable the ipywidgets extension
ansible.builtin.command: >
"{{jupyterlab.virtualenv}}/bin/jupyter" nbextension enable --py --sys-prefix widgetsnbextension
# because the generate-config command below never overwrites an existing file
- name: Delete existing JupyterLab config file
ansible.builtin.file:
path: "{{ jupyterlab.config }}"
state: absent
state: absent

# this generates /root/.jupyter/jupyter_lab_config.py (it has all rows commented out)
# this config file is very large (>30K)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

apt_dependencies:
- curl=7.68.0-1ubuntu2.18
- curl=7.68.0-1ubuntu2.19
- python3.8-venv=3.8.10-0ubuntu1~20.04.8
- python3-pip=20.0.2-5ubuntu1.9

0 comments on commit dcf9145

Please sign in to comment.