Skip to content

feat: add BiologicalFlowLayout engine for pathway visualization #24

feat: add BiologicalFlowLayout engine for pathway visualization

feat: add BiologicalFlowLayout engine for pathway visualization #24

Workflow file for this run

name: CI
on:
push:
branches: [master, development]
pull_request:
branches: [master, development]
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:unit
integration-tests:
name: Integration Tests (${{ matrix.browser }})
needs: unit-tests
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
container:
image: mcr.microsoft.com/playwright:v1.56.1-noble
options: --user 1001
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run integration tests
run: npm run test:e2e -- --project=${{ matrix.browser }}
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report-${{ matrix.browser }}
path: playwright-report/
retention-days: 7
- name: Upload test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results-${{ matrix.browser }}
path: test-results/
retention-days: 7