forked from ni/actor-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 823 Bytes
/
Copy pathrun-unit-tests.yml
File metadata and controls
43 lines (36 loc) · 823 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
32
33
34
35
36
37
38
39
40
41
42
43
name: Run unit tests
on:
pull_request:
branches:
- main
- develop
- release/*
- feature/*
- hotfix/*
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- main
- develop
- release/*
- hotfix/*
- feature/*
workflow_dispatch:
jobs:
run-unit-tests:
name: Run unit tests
runs-on: [self-hosted, iconeditor]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run unit tests
shell: pwsh
working-directory: pipeline/scripts
run: |
$repoRoot = $env:GITHUB_WORKSPACE
$scriptsFolder = Join-Path $repoRoot 'pipeline/scripts'
.\unit_tests.ps1 -RelativePath $repoRoot -AbsolutePathScripts $scriptsFolder