From 66f9ea581f3b7e25ac205e1ae837e0732ea2b537 Mon Sep 17 00:00:00 2001 From: Mitchel Baker Date: Fri, 26 Jul 2024 23:24:24 +0000 Subject: [PATCH] readd shell param --- .github/actions/setup-macos-dependencies/action.yml | 3 +++ .github/actions/setup-windows-dependencies/action.yml | 3 +++ .github/workflows/run_smoke_test.yml | 6 ------ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/setup-macos-dependencies/action.yml b/.github/actions/setup-macos-dependencies/action.yml index 5d6209f3..1d46ca2f 100644 --- a/.github/actions/setup-macos-dependencies/action.yml +++ b/.github/actions/setup-macos-dependencies/action.yml @@ -11,12 +11,14 @@ runs: using: "composite" steps: - name: Setup virtualenv + shell: bash run: | pip install virtualenv virtualenv -p python .venv source .venv/bin/activate - name: Install dependencies + shell: bash run: | python -m pip install . pip install -r requirements.txt @@ -25,4 +27,5 @@ runs: pip install numpy==1.26.4 - name: Download OPA executable + shell: bash run: python download_opa.py -v ${{ inputs.opa-version }} -os ${{ inputs.operating-system }} \ No newline at end of file diff --git a/.github/actions/setup-windows-dependencies/action.yml b/.github/actions/setup-windows-dependencies/action.yml index 26cbcf67..9ee62ebc 100644 --- a/.github/actions/setup-windows-dependencies/action.yml +++ b/.github/actions/setup-windows-dependencies/action.yml @@ -11,12 +11,14 @@ runs: using: "composite" steps: - name: Setup virtualenv + shell: powershell run: | pip install virtualenv python -m venv .venv .venv\Scripts\activate - name: Install dependencies + shell: powershell run: | python -m pip install . pip install -r requirements.txt @@ -25,4 +27,5 @@ runs: pip install numpy==1.26.4 - name: Download OPA executable + shell: powershell run: python download_opa.py -v ${{ inputs.opa-version }} -os ${{ inputs.operating-system }} \ No newline at end of file diff --git a/.github/workflows/run_smoke_test.yml b/.github/workflows/run_smoke_test.yml index bdf5ad2c..937f1ff2 100644 --- a/.github/workflows/run_smoke_test.yml +++ b/.github/workflows/run_smoke_test.yml @@ -23,9 +23,6 @@ jobs: smoke-test-windows: name: Smoke Test for Windows runs-on: windows-latest - defaults: - run: - shell: powershell steps: - name: Checkout Repository uses: actions/checkout@v4 @@ -51,9 +48,6 @@ jobs: smoke-test-macos: name: Smoke Test for MacOS runs-on: macos-latest - defaults: - run: - shell: bash needs: smoke-test-windows steps: - name: Checkout Repository