Skip to content

Object equality fixes #590

Object equality fixes

Object equality fixes #590

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@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: '17'
- name: Pip Cache (Linux)
uses: actions/cache@v3
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@v3
- uses: actions/setup-python@v4
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