diff --git a/.github/actions/initialize-scubagoggles/action.yml b/.github/actions/initialize-scubagoggles/action.yml index a869e6ba..9768b837 100644 --- a/.github/actions/initialize-scubagoggles/action.yml +++ b/.github/actions/initialize-scubagoggles/action.yml @@ -24,7 +24,7 @@ runs: cache-dependency-path: ${{ inputs.cache-dependency-path }} - name: Setup virtualenv for Windows - if: ${{ inputs.operating-system == "windows" }} + if: ${{ inputs.operating-system }} == "windows" shell: powershell run: | pip install virtualenv @@ -32,7 +32,7 @@ runs: .venv\Scripts\activate - name: Setup virtualenv for MacOS - if: ${{ inputs.operating-system == "macos" }} + if: ${{ inputs.operating-system }} == "macos" shell: bash run: | pip install virtualenv @@ -40,6 +40,7 @@ runs: source .venv/bin/activate - name: Install dependencies + shell: powershell run: | python -m pip install . pip install -r requirements.txt @@ -48,4 +49,4 @@ runs: pip install -y numpy==1.26.4 - name: Download OPA executable - run: python download_opa.py -v ${{ inputs.opa-version }} -os ${{ inputs.operating-system }} + run: python download_opa.py -v ${{ inputs.opa-version }} -os ${{ inputs.operating-system }} diff --git a/.github/workflows/run_smoke_test.yml b/.github/workflows/run_smoke_test.yml index 32818881..00391b52 100644 --- a/.github/workflows/run_smoke_test.yml +++ b/.github/workflows/run_smoke_test.yml @@ -62,4 +62,7 @@ jobs: - name: Execute ScubaGoggles and check for correct output run: | - echo "in second step" \ No newline at end of file + echo "in second step" + + # Give OPA executable execute permissions + chmod +x opa_darwin_amd64 \ No newline at end of file