Skip to content

Fix _ThermoAnalysis._set_globals_and_seq_args for improper checks o… #190

Fix _ThermoAnalysis._set_globals_and_seq_args for improper checks o…

Fix _ThermoAnalysis._set_globals_and_seq_args for improper checks o… #190

name: build, pytest and pre-commit
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
defaults:
run:
shell: bash -l {0}
permissions:
id-token: write
contents: read
steps:
- name: checkout
uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pre-commit
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest and then run pre-commit
run: >
python setup.py build_ext --inplace &&
pytest &&
pre-commit run --all-files