Skip to content

PRS/eff-sens-profiles -> Added Docs; slight refinements in naming; co… #110

PRS/eff-sens-profiles -> Added Docs; slight refinements in naming; co…

PRS/eff-sens-profiles -> Added Docs; slight refinements in naming; co… #110

Workflow file for this run

name: Testing Springcraft
on: [push, pull_request]
jobs:
lint:
name: Check code style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff==0.5.2
- name: Check code formatting
run: ruff format --diff
- name: Lint code base
run: ruff check
test:
name: Testing
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: springcraft-dev
auto-update-conda: true
python-version: '3.10'
- name: Installing dependencies
run: conda install -c conda-forge poetry pytest
- name: Building distribution
run: poetry build -f wheel
- name: Installing distribution
run: pip install ./dist/*.whl
- name: Testing code
run: pytest