reset index, and add_pheno_to_df index check #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
release: | |
types: | |
- published | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
if: ${{ !contains(github.event.head_commit.message, '[skip ci]' ) }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: [3.8, 3.9, "3.10", 3.11] # quoted 3.10 needed due to this bug: https://github.com/actions/runner/issues/1989 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Install Pandoc | |
uses: r-lib/actions/setup-pandoc@v2 | |
- name: Ruff Linting | |
uses: chartboost/ruff-action@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: Install multidms | |
run: | | |
pip install --upgrade pip | |
pip install -e ".[dev]" | |
- name: Black Format Check | |
uses: psf/black@stable | |
with: | |
options: "--check" | |
src: "." | |
jupyter: false | |
version: "~= 23.3" # this is the version that ships with the vs code extension, currently | |
- name: Test | |
run: | | |
pytest | |
pytest --doctest-modules | |
- name: Test docs build | |
run: | | |
make -C docs clean | |
make -C docs html |