-
Notifications
You must be signed in to change notification settings - Fork 377
80 lines (79 loc) · 2.27 KB
/
install-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
on:
workflow_dispatch: {}
schedule:
- cron: '0 * * * *' # Every hour
push:
tags:
- '*'
pull_request:
types: [opened, edited]
name: Package manager test
jobs:
homebrew:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
scripts/install-test.sh
sparse-checkout-cone-mode: false
- run: bash scripts/install-test.sh homebrew
env:
PAGERDUTY_INTEGRATION_KEY: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }}
apt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
scripts/install-test.sh
sparse-checkout-cone-mode: false
- run: bash scripts/install-test.sh apt
env:
PAGERDUTY_INTEGRATION_KEY: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }}
yum:
runs-on: ubuntu-latest
container: fedora:latest
steps:
- run: |
if [ ! -d "/etc/yum.repos.d" ]; then
sudo mkdir /etc/yum.repos.d
fi
echo "[Stripe]
name=stripe
baseurl=https://packages.stripe.dev/stripe-cli-rpm-local/
enabled=1
gpgcheck=0" | sudo tee /etc/yum.repos.d/stripe.repo
- uses: actions/checkout@v4
with:
sparse-checkout: |
scripts/install-test.sh
sparse-checkout-cone-mode: false
- run: bash scripts/install-test.sh yum
env:
PAGERDUTY_INTEGRATION_KEY: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }}
scoop:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
scripts/install-test.sh
sparse-checkout-cone-mode: false
- uses: MinoruSekine/setup-scoop@v4
- shell: powershell
run: bash scripts/install-test.sh scoop
env:
PAGERDUTY_INTEGRATION_KEY: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }}
docker:
runs-on: ubuntu-latest
container: stripe/stripe-cli:latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
scripts/install-test.sh
sparse-checkout-cone-mode: false
- run: sh scripts/install-test.sh docker
env:
PAGERDUTY_INTEGRATION_KEY: ${{ secrets.PAGERDUTY_INTEGRATION_KEY }}