mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-09 22:08:38 -06:00
Add integration test after builds
This commit is contained in:
26
.github/workflows/integration.yaml
vendored
Normal file
26
.github/workflows/integration.yaml
vendored
Normal file
@@ -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")
|
||||
Reference in New Issue
Block a user