parameterized a test function #17
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: Test Unpinned Dependencies | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
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: Install Developer Dependencies | |
run: pip install .[dev] | |
- name: Check Versions of Dependencies | |
run: pip freeze | |
- name: Pytest | |
run: pytest |