Skip to content

separating pinned and unpinned dependencies (#47) #1

separating pinned and unpinned dependencies (#47)

separating pinned and unpinned dependencies (#47) #1

name: Build Package and Test
on:
push:
branches: [ main ]
pull_request_target:
types: [ opened, edited]
branches: [ main ]
paths: ['pyproject.toml', 'requirements.txt']
jobs:
build_wheels:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.12"]
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
defaults:
run:
# Required when using an activated conda environment in steps
# See https://github.com/conda-incubator/setup-miniconda#IMPORTANT
shell: bash -l {0}
steps:
- uses: actions/checkout@main
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: ${{ matrix.python-version }}
- name: Build Source
run: pip install .
- name: Install Developer Dependencies
run: pip install .[dev]
- name: Check Versions of Dependencies
run: pip freeze
- name: Pytest
run: pytest