Render atom legends in legend scene #554
Workflow file for this run
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: Test | |
on: [push, pull_request] | |
jobs: | |
docs: | |
name: Documentation | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
cache: "pip" | |
cache-dependency-path: | | |
**/requirements*.txt | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y pandoc | |
python -m pip install --upgrade pip | |
python -m pip install -r ./docs/requirements.txt | |
- name: Build docs | |
run: | | |
cd docs/source | |
python -m sphinx -T -E -b html -d ../build/doctrees -D language=en . ../build/html | |
e2e: | |
timeout-minutes: 60 | |
runs-on: ubuntu-22.04 | |
permissions: | |
# Give the default GITHUB_TOKEN write permission to commit and push the | |
# added or changed files to the repository. | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: | | |
npm ci | |
npm run build | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run Playwright tests | |
run: npx playwright test | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 | |
# Commit the changes to the pull request branch | |
- name: Run Playwright tests with snapshot update | |
if: failure() | |
run: npx playwright test --update-snapshots | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
if: failure() | |
with: | |
commit_message: "[CI] Update Snapshots" | |
unit-tests: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [16.x, 18.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Install dependencies | |
run: | | |
npm ci | |
npm run build | |
- run: npm test |