From 12d59d9e635d946fcadaa26ab6b6cf6b929c0a81 Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 3 Oct 2024 13:11:58 -0500 Subject: [PATCH] Add integration test after builds --- .github/workflows/integration.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/integration.yaml diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml new file mode 100644 index 0000000..6e055bb --- /dev/null +++ b/.github/workflows/integration.yaml @@ -0,0 +1,26 @@ +name: Integration Test + +on: + workflow_run: + workflows: ["Build"] + types: + - completed + +jobs: + integration: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Run Integration + if: ${{ !contains(matrix.os, 'windows') }} + run: curl -sSL https://raw.githubusercontent.com/Xevion/spotify-player-quickauth/refs/heads/master/run.sh | sh + + - name: Run Integration (Windows) + if: ${{ contains(matrix.os, 'windows') }} + run: iex (irm "https://raw.githubusercontent.com/Xevion/spotify-player-quickauth/refs/heads/master/run.ps1") \ No newline at end of file