From ae4fdcdfeffd6932537d277d06ae579ef9433bc5 Mon Sep 17 00:00:00 2001 From: "J.P" <70083705+stapmoshun@users.noreply.github.com> Date: Sun, 14 Jan 2024 15:33:58 -0500 Subject: [PATCH] gh workflow --- .github/workflows/python-package-conda.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index a0dfab5..39e86d2 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -44,13 +44,14 @@ jobs: flake8 --exclude deprecated . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Install current Python library - shell: bash + shell: bash -l {0} run: | - conda init + conda init bash + source ~/.bashrc conda activate base # Activate the conda environment pip install -e . # Install the current Python library in editable mode - name: Test with pytest - shell: bash + shell: bash -l {0} run: | conda activate base # Activate the conda environment pytest tests -rsx