Skip to content

Updates from spec version 185.0.1 (#2269) #700

Updates from spec version 185.0.1 (#2269)

Updates from spec version 185.0.1 (#2269) #700

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
defaults:
run:
shell: bash
jobs:
test-python:
name: Python Linting & Tests
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Pip Cache (Linux)
uses: actions/cache@v4
if: runner.os == 'Linux'
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}
- name: Install Python Dependencies
run: |
pip install -r requirements-dev.txt
- name: Install Node Dependencies
run: npm install
- name: Run Lints
run: make lint
- name: Run Tests
run: make test
test-spec:
name: Spec Generation & Formatting Fixups
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Python Dependencies
run: |
python -m pip install -r requirements-dev.txt
- name: Ensure spec generation and formatting fixups are clean
run: |
make spec
make regen
git diff --exit-code