Removing unused dep + update pyproject.toml #118
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: Python Package using Conda | |
on: [push, workflow_dispatch] | |
jobs: | |
linux-mac: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-13] | |
solver: ["libmamba"] | |
max-parallel: 5 | |
environment: anaconda_build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: conda/environment.yml | |
conda-solver: ${{ matrix.solver }} | |
auto-activate-base: false | |
- name: build | |
run: | | |
pip install . -vv | |
env: | |
CC: gcc | |
CXX: g++ | |
- name: Test with pytest | |
run: | | |
pytest |