Add Plot status events to vgplot #162
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
node: | |
name: Test on Node | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
cache: "npm" | |
- name: Install Node dependencies | |
run: npm ci | |
- run: npm run lint | |
- run: npm run build | |
- run: npm run test | |
python: | |
name: Test on Python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
cache: "pip" | |
cache-dependency-path: "**/pyproject.toml" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
cd packages/widget | |
pip install -e .[dev] | |
- name: Build and lint | |
run: | | |
cd packages/widget | |
ruff . | |
black . --check |