Skip to content

chore: update CI env file #503

chore: update CI env file

chore: update CI env file #503

Workflow file for this run

name: Test with pytest
on: [push]
jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: python-v38
environment-file: environment.yml
miniforge-version: latest
- name: Test with pytest
shell: bash -el {0}
run: |
conda activate python-v38
conda python -m pytest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python 3.8
# uses: actions/setup-python@v4
# with:
# python-version: 3.8
# - name: Install dependencies
# run: |
# $CONDA/bin/conda env update --file environment.yml --name base
# - name: Test with pytest
# run: |
# # pip install -r requirements.txt
# $CONDA/bin/python -m pytest