generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (35 loc) · 1.2 KB
/
Test.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
45
name: "Test"
on:
pull_request:
# Avoid running the same workflow on the same branch concurrently
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
Test:
runs-on: ubuntu-latest
steps:
# Checkout the repository with permission to push
- name: Checkout
uses: actions/checkout@v4
# Run Diffblue Cover
- name: Diffblue Cover
uses: ./ # the latest version from the current repository
env:
JVM_ARGS: -Xmx4096m
with:
# The access token used to push commits and call GitHub APIs.
#
# Must have access to the project with at least Write role, and scopes
# including code, commit-statuses, pull-requests, workflows and actions.
access-token: ${{ secrets.DIFFBLUE_ACCESS_TOKEN }}
# License key used to activate the installation
license-key: ${{ secrets.DIFFBLUE_LICENSE_KEY }}
# Integration test project lives in a subdir
working-directory: ./test
# Collect Diffblue Cover log files
- name: Diffblue Artifacts
uses: actions/upload-artifact@v4
with:
name: logs
path: |
**/.diffblue/**