Skip to content

Support lumino v2

Support lumino v2 #106

Workflow file for this run

name: Conda packages (Ubuntu Lab1)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.11
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Cache gradle
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
- name: Verify conda version
shell: bash -l {0}
run: conda --version
- name: Create conda env
shell: bash -l {0}
run: |
conda create -y --name beakerx_all_lab python=3.7.5
conda activate beakerx_all_lab
conda install -y -c conda-forge openjdk=11.0.1
conda install -y -c conda-forge jupyterlab=1.2
- name: Install beakerx_all
shell: bash -l {0}
run: |
conda activate beakerx_all_lab
conda install -y -c beakerx beakerx_all
conda list
beakerx install
beakerx_tabledisplay install
- name: Run e2e tests (Widgets)
shell: bash -l {0}
run: |
cd autotests
chmod +x gradlew
conda activate beakerx_all_lab
pip install psutil
python ci_tests.py --app=lab --tst=python.Widget*
- name: Run e2e tests (table v3)
shell: bash -l {0}
run: |
cd autotests
chmod +x gradlew
conda activate beakerx_all_lab
python ci_tests.py --app=lab --tbl=v3 --tst=python.Table*
- name: Archive screenshot results
uses: actions/upload-artifact@v1
if: always()
with:
name: labscreenshotsV3
path: ${{ github.workspace }}/autotests/resources/img/python
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: "**/test-results/test/TEST-*.xml"