install conda build #13
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: Reportengine tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Miniconda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: test | |
use-mamba: true | |
python-version: ${{ matrix.python-version }} | |
- name: Build reportengine package and install it | |
shell: bash | |
run: | | |
conda install conda-build | |
conda-build conda-recipe/meta.yaml | |
conda install --use-local reportengine | |
- name: Install pytest dependencies | |
shell: bash | |
run: | | |
pip install pytest | |
pip install hypothesis | |
- name: Run Tests | |
shell: bash | |
run: | | |
pytest |