-
Notifications
You must be signed in to change notification settings - Fork 7
44 lines (36 loc) · 1.1 KB
/
test-milestone-scripts.yml
File metadata and controls
44 lines (36 loc) · 1.1 KB
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
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Test milestone scripts
on:
push:
branches:
- main
paths:
- '.github/scripts/update-milestones.sh'
- '.github/scripts/audit-milestones.sh'
- 'tests/milestone-scripts/**'
pull_request:
paths:
- '.github/scripts/update-milestones.sh'
- '.github/scripts/audit-milestones.sh'
- 'tests/milestone-scripts/**'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Shellcheck
run: |
shellcheck \
.github/scripts/update-milestones.sh \
.github/scripts/audit-milestones.sh \
tests/milestone-scripts/run.sh \
tests/milestone-scripts/unit.sh \
tests/milestone-scripts/fake-gh.sh
- name: Run snapshot tests
run: bash tests/milestone-scripts/run.sh
- name: Run unit tests
run: bash tests/milestone-scripts/unit.sh