-
Notifications
You must be signed in to change notification settings - Fork 6
52 lines (42 loc) · 1.1 KB
/
scripts.yml
File metadata and controls
52 lines (42 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
45
46
47
48
49
50
51
52
---
name: Run Scripts Tests
on:
push:
branches:
- main
pull_request:
branches:
- '**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
checks: write
jobs:
scripts:
name: Run Scripts Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Run Scripts Tests
run: make test-scripts
- name: Upload Coverage to Coveralls
if: ${{ !env.ACT }}
uses: coverallsapp/github-action@v2
with:
file: ./scripts/coverage.xml
fail-on-error: false
- name: Display Scripts Coverage Metrics
if: ${{ !env.ACT }}
uses: 5monkeys/cobertura-action@v14
with:
report_name: "Scripts Coverage"
path: ./scripts/coverage.xml
minimum_coverage: "50"