-
Notifications
You must be signed in to change notification settings - Fork 16
44 lines (44 loc) · 1008 Bytes
/
coster.yml
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
name: Coster build
on:
push:
branches:
- main
paths:
- 'coster/**'
- .github/workflows/coster.yml
pull_request:
branches:
- main
paths:
- 'coster/**'
- .github/workflows/coster.yml
env:
BUILD_CONFIGURATION: Release
jobs:
build:
name: Coster Build
runs-on: ubuntu-20.04
defaults:
run:
working-directory: coster
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
run: ./build.sh
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: 'coster/artifacts/test-results/**/*.html'
if-no-files-found: error
- name: Upload coverage report
uses: actions/upload-artifact@v3
if: always()
with:
name: code-coverage
path: 'coster/artifacts/coverage-report'
if-no-files-found: error