forked from mason-org/mason-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 793 Bytes
/
Copy pathpackage-tests.yaml
File metadata and controls
31 lines (28 loc) · 793 Bytes
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
---
name: Package tests
on:
pull_request:
workflow_dispatch:
inputs:
packages:
type: string
description: Space-separated list of package definitions to test.
required: true
jobs:
lint:
name: Registry lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: mason-org/actions/registry-lint@v1
with:
packages: ${{ github.event.inputs.packages }}
test:
name: Package tests
needs: lint
uses: mason-org/actions/.github/workflows/package-tests.yaml@v1
with:
packages: ${{ github.event.inputs.packages }}
skip: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:skip-package-tests') }}