Skip to content

refactor: enable scroll in plotly iframe #708

refactor: enable scroll in plotly iframe

refactor: enable scroll in plotly iframe #708

Workflow file for this run

name: pr
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
skip:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.filter.outputs.should_skip }}
steps:
- uses: actions/checkout@v4
with:
filter: blob:none
fetch-depth: 0
- uses: leavesster/[email protected]
id: "filter"
with:
paths: |
- "**"
- "!**.md"
- "!.github/workflows/**"
- ".github/workflows/pr.yml"
- ".vscode"
- ".gitignore"
check:
runs-on: ubuntu-latest
needs: skip
if: ${{ needs.skip.outputs.should_skip != 'true' }}
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
cache: true
python-version: "3.10"
- name: install dependencies
run: pdm install
- name: build
run: pdm build
- name: static check
run: pdm check
- name: install mqtt broker
run: |
sudo apt-add-repository -y ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt-get install -y mosquitto
- name: unittest
run: |
mosquitto -p 47688 -d
pdm test
- uses: actions/setup-node@v4
with:
node-version: 22.x
- name: test flow examples
timeout-minutes: 5
run: |
mosquitto -p 47688 -d
source .venv/bin/activate
cd flow-examples
npm install
npm run test
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
- name: upload logs
uses: actions/upload-artifact@v4
with:
name: oocana-logs
path: |
~/.oocana/sessions/
retention-days: 1
if: failure()