integation_tests

This commit is contained in:
Mark McDowall 2024-01-04 12:25:08 -08:00
parent 6e83a0cbac
commit 113daddc3d
1 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ inputs:
filter: filter:
description: 'Filter for tests' description: 'Filter for tests'
required: true required: true
integation_tests: integration_tests:
description: 'True if running integration tests' description: 'True if running integration tests'
binary_artifact: binary_artifact:
description: 'Binary artifact for integration tests' description: 'Binary artifact for integration tests'
@ -51,7 +51,7 @@ runs:
path: _tests path: _tests
- name: Download Binary Artifact - name: Download Binary Artifact
if: ${{ inputs.integation_tests }} if: ${{ inputs.integration_tests }}
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: ${{ inputs.binary_artifact }} name: ${{ inputs.binary_artifact }}
@ -68,7 +68,7 @@ runs:
run: chmod +x ./_tests/Sonarr.Test.Dummy && chmod +x ./_tests/ffprobe run: chmod +x ./_tests/Sonarr.Test.Dummy && chmod +x ./_tests/ffprobe
- name: Make Sonarr binary executable - name: Make Sonarr binary executable
if: ${{ inputs.integation_tests && !startsWith(inputs.os, 'windows') }} if: ${{ inputs.integration_tests && !startsWith(inputs.os, 'windows') }}
shell: bash shell: bash
run: chmod +x ./_tests/bin/Sonarr run: chmod +x ./_tests/bin/Sonarr