This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
Fix state access within notebook (#968) (#969) #506
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prefix (baseURL) Test | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
prefix-test: | |
timeout-minutes: 40 | |
strategy: | |
matrix: | |
node-version: [18.x] | |
python-versions: ['3.8', '3.9', '3.10', '3.11'] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: testing with ${{ matrix.node-version }} on ${{ matrix.os }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build the Docker image | |
working-directory: ./tools/docker/nginx-prefix | |
run: docker build . --file Dockerfile --tag taipy-nginx-proxy | |
- name: run nginx reverse proxy docker container | |
run: docker run -d -p 4000:4000 taipy-nginx-proxy | |
- name: Install dom dependencies | |
working-directory: ./gui/dom | |
run: npm ci | |
- name: Install dependencies | |
working-directory: ./gui | |
run: npm ci --omit=optional | |
- name: Run npm build | |
run: npm run build --if-present | |
working-directory: ./gui | |
- name: install libmagic on macos | |
if: matrix.os == 'macos-latest' | |
run: brew install libmagic | |
- name: install pipenv and install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install pipenv==2023.7.23 | |
pipenv install --dev | |
pipenv run pip install jsonschema==4.17.3 "pandas>=2.0.0,<2.1" | |
pipenv run pip freeze | |
pipenv run playwright install chromium --with-deps | |
- name: run pytest | |
run: | | |
pipenv run pytest -m teste2e tests --e2e-base-url="/prefix/" --e2e-port="4000" |