update installation instructions, add test for macOS #16
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: floras tests conda env - Ubuntu | |
on: | |
push: | |
pull_request: | |
jobs: | |
create-env: | |
name: Testing conda env (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.10","3.11","3.12"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Create environment with conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: anaconda-client-env | |
miniconda-version: "latest" | |
environment-file: envs/conda_env.yaml | |
auto-activate-base: false | |
- name: Check conda | |
run: | | |
conda info | |
conda list | |
- name: Add pdm | |
run: pip install pdm | |
- name: Install package | |
run: pdm install | |
- name : Install Package for Testing | |
run : conda install pytest | |
- name : Run tests | |
run : pdm run pytest -v tests |