Skip to content

Three component phase separation for ultramassive white dwarfs #284

Three component phase separation for ultramassive white dwarfs

Three component phase separation for ultramassive white dwarfs #284

---
name: Static Analysis
on:
workflow_dispatch:
release:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Apply Fortran linter, fortitude
run: |
cd ${{ github.workspace }}
fortitude check
- name: Apply Python linter, ruff
run: |
cd ${{ github.workspace }}
ruff format --check
ruff check
- name: Apply RST linter, sphinx-lint
run: |
cd ${{ github.workspace }}
sphinx-lint --ignore=gyre/gyre
- name: Apply custom MESA linters
run: |
cd ${{ github.workspace }}
cd linters
python check_columns.py
python check_defaults.py
python check_pgstar.py
python check_photos.py