Skip to content

fmk - putting AZ's changes back into code .. basically reverting to 6… #408

fmk - putting AZ's changes back into code .. basically reverting to 6…

fmk - putting AZ's changes back into code .. basically reverting to 6… #408

Workflow file for this run

# .github/workflows/tests.yml
name: BRAILS++ CI/CD
on:
push:
pull_request:
release:
types: [created]
jobs:
lint:
name: Ruff Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
version: 0.12.10
format_check:
name: Ruff Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
args: 'format --check'
version: 0.12.10
spell_check:
name: Spell Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[development]
- name: Run tests (excluding live)
if: github.event_name == 'push'
run: python -m pytest --cov --cov-report xml -m "not live"
- name: Run all tests (including live)
if: github.event_name == 'pull_request' || github.event_name == 'release'
run: python -m pytest --cov --cov-report xml