-
Notifications
You must be signed in to change notification settings - Fork 57
51 lines (42 loc) · 902 Bytes
/
Copy pathtest.yml
File metadata and controls
51 lines (42 loc) · 902 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
44
45
46
47
48
49
50
51
name: Run Tests
on:
workflow_dispatch:
pull_request:
types:
- edited
- opened
- synchronize
push:
branches:
- '*'
- '!main'
jobs:
validate:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
name: Run Tests (${{ matrix.os }})
defaults:
run:
shell: bash
steps:
- name: Checkout Commit
uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Checkout Main
run: |
git fetch origin
git branch -f main origin/main
- name: Setup
uses: ./.github/actions/setup
- name: Build Projects
run: |
moon repo:build.all
- name: Package Tests
env:
FORCE_COLOR: 1
run: moon run :test --affected --concurrency 1 --remote --log trace