From 2baf4d28dab583d244adbf61ac7bd6247954ff77 Mon Sep 17 00:00:00 2001 From: Adam Davis Date: Fri, 2 Aug 2024 19:18:19 -0600 Subject: [PATCH] Forget conda as wont work on windows because of oiio --- .github/workflows/main.yml | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 167eedf..a8fe428 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,25 +28,18 @@ jobs: with: lfs: false # Disable Git LFS - # Step 1: Set up Miniconda - - name: Set up Miniconda - uses: conda-incubator/setup-miniconda@v2 + # Set up Python 3.11 + - name: Set up Python 3.11 + uses: actions/setup-python@v2 with: - auto-update-conda: true - python-version: 3.11 - environment-file: environment.yml - activate-environment: OpenVPCal - miniconda-version: "latest" # Ensure Miniconda is installed + python-version: 3.11 - # Step 2: Initialize Conda - - name: Initialize Conda - shell: bash + # Install dependencies + # Step 1: Install dependencies + - name: Install dependencies run: | - conda init + brew update + brew install pkg-config autoconf automake autoconf-archive + + - # Step 4: Run unit tests - - name: Run unit tests - shell: bash - run: | - conda activate OpenVPCal - pytest tests \ No newline at end of file