Skip to content

Avoid unnecessary conda env initialisation #7

Avoid unnecessary conda env initialisation

Avoid unnecessary conda env initialisation #7

Workflow file for this run

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: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
use-mamba: true
- name: Update Environment
shell: bash -l {0}
run: |
conda env update -n test -f environment.yml
- name: Install pytest dependencies
shell: bash -l {0}
run: |
pip install pytest
pip install hypothesis
- name: Run Tests
shell: bash -l {0}
run: |
pytest