Skip to content

Commit 3650164

Browse files
committed
ci: add CI workflow for push and pull_request triggers to run all tests on each commit for #18
1 parent 004afd8 commit 3650164

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-slim
15+
permissions:
16+
contents: read
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Install Pester and PSScriptAnalyzer
23+
run: |
24+
pwsh -Command "Install-Module Pester -MinimumVersion 5.7.0 -Force -Scope CurrentUser"
25+
pwsh -Command "Install-Module PSScriptAnalyzer -Force -Scope CurrentUser"
26+
27+
- name: Run tests
28+
run: pwsh tests/run-tests.ps1

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ section here.
2929
produce Delphi 2 code but that introduced a bug when Exit(true); was split across
3030
two lines. Fixed in #17
3131

32+
- `ci` workflow added for running tests after every commit for #18
33+
3234
## [1.1.0] - 2026-03-06
3335

3436
Platform support matrix doc + Forward Compatibility in INC + filenames standardized

0 commit comments

Comments
 (0)