Skip to content

Commit adabdb5

Browse files
committed
chore(ci): add workflow for building and testing scripts
1 parent 2fbb558 commit adabdb5

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Build - Scripts
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- 'scripts/**'
10+
- '.github/workflows/build-scripts.yml'
11+
pull_request:
12+
paths:
13+
- 'scripts/**'
14+
- '.github/workflows/build-scripts.yml'
15+
workflow_dispatch:
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
build-scripts:
22+
name: Build scripts
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 20
25+
steps:
26+
- name: Checkout the repo
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
with:
29+
fetch-depth: 1
30+
31+
- name: Setup Python
32+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # @v6.2.0
33+
with:
34+
python-version: '3.14'
35+
36+
- name: Run Python script tests
37+
run: bash scripts/test_python_scripts.sh

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
java = "temurin-21"
3+
python = "3.14"

0 commit comments

Comments
 (0)