use conda install with --use-local #10
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: Update Environment with Reportengine | |
shell: bash -l {0} | |
run: | | |
conda install --use-local reportengine | |
- name: Install pytest dependencies | |
shell: bash -l {0} | |
run: | | |
pip install pytest | |
pip install hypothesis | |
- name: Run Tests | |
shell: bash -l {0} | |
run: | | |
pytest | |