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