Skip to content

Support lumino v2

Support lumino v2 #112

Workflow file for this run

name: Conda packages (Ubuntu Notebook)
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: Fonts list
shell: bash
run: fc-list
- name: Create conda env
shell: bash -l {0}
run: |
conda create -y --name beakerx_all python=3.7.5
conda activate beakerx_all
conda install -y -c conda-forge openjdk=11.0.1
conda install -y -c conda-forge notebook
- name: Install beakerx_all
shell: bash -l {0}
run: |
conda activate beakerx_all
conda install -y -c beakerx beakerx_all
conda list
- name: Run e2e tests (Widgets)
shell: bash -l {0}
run: |
cd autotests
chmod +x gradlew
conda activate beakerx_all
pip install psutil
python ci_tests.py --app=notebook --tst=python.Widget*
- name: Run e2e tests (table v2)
shell: bash -l {0}
run: |
cd autotests
chmod +x gradlew
conda activate beakerx_all
python ci_tests.py --app=notebook --tbl=v2 --tst=python.Table*
- name: Archive screenshot results
uses: actions/upload-artifact@v1
if: always()
with:
name: screenshotsV2
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"