Skip to content

Rewrite libretexts.org Table of Content pages #156

Rewrite libretexts.org Table of Content pages

Rewrite libretexts.org Table of Content pages #156

Workflow file for this run

name: QA
on:
pull_request:
push:
branches:
- main
jobs:
check-scraper-qa:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: scraper/pyproject.toml
architecture: x64
- name: Install dependencies
working-directory: scraper
run: |
pip install -U pip
pip install -e .[lint,check,scripts,test]
- name: Check black formatting
working-directory: scraper
run: inv lint-black
- name: Check ruff
working-directory: scraper
run: inv lint-ruff
- name: Check pyright
working-directory: scraper
run: inv check-pyright
check-zimui-qa:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: zimui/.node-version
- name: Install JS dependencies
working-directory: zimui
run: |
yarn install
- name: Check prettier
working-directory: zimui
run: |
yarn format
- name: Check eslint
working-directory: zimui
run: |
yarn lint