From ac74be79c3e5715a50932e0a6099abe6a7e45599 Mon Sep 17 00:00:00 2001 From: Adam Davis Date: Fri, 2 Aug 2024 18:56:16 -0600 Subject: [PATCH] Try again --- .github/workflows/main.yml | 13 +------------ environment.yml | 1 + 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66a134a..0b7fc5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,6 @@ jobs: - name: Initialize Conda shell: bash run: | - source $HOME/miniconda/etc/profile.d/conda.sh conda init bash conda config --set auto_activate_base false @@ -50,22 +49,12 @@ jobs: - name: Create and activate conda environment shell: bash run: | - source $HOME/miniconda/etc/profile.d/conda.sh conda create --name OpenVPCal python=3.11 -y conda activate OpenVPCal - # Step 4: Install Python dependencies - - name: Install Python dependencies - shell: bash - run: | - source $HOME/miniconda/etc/profile.d/conda.sh - conda activate OpenVPCal - pip install -r requirements.txt - - # Step 5: Run unit tests + # Step 4: Run unit tests - name: Run unit tests shell: bash run: | - source $HOME/miniconda/etc/profile.d/conda.sh conda activate OpenVPCal pytest tests \ No newline at end of file diff --git a/environment.yml b/environment.yml index e615421..750ff8d 100644 --- a/environment.yml +++ b/environment.yml @@ -7,6 +7,7 @@ dependencies: - python=3.11 - conda-forge::openimageio=2.5.9.0 - conda-forge::py-openimageio=2.5.9.0 + - pip - pip: - alabaster==0.7.13 - altgraph==0.17.4