-
Notifications
You must be signed in to change notification settings - Fork 36
executable file
·53 lines (46 loc) · 1.43 KB
/
run-regression-tests.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
46
47
48
49
50
51
52
53
name: Build and Test VSCode extension
on:
push:
branches: '**'
pull_request:
branches: [main]
jobs:
build:
name: Build Plugin
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
runtime: [ linux, mac, windows ]
include:
- runtime: linux
os: ubuntu-latest
reportName: linux-test-report
- runtime: mac
os: macOS-latest
reportName: mac-test-report
- runtime: windows
os: windows-latest
reportName: windows-test-report
steps:
# Checkout the eclipse plugin repository.
- name: 'Setup: Checkout plugin'
uses: actions/checkout@v3
# Install the required software.
- name: 'Setup: Install required software'
run: bash ./src/test/resources/ci/scripts/setup.sh
# Build the plugin.
- name: 'Build: Build-Package'
run: bash ./src/test/resources/ci/scripts/exec.sh BUILD
# Archive artifacts
- name: Archive artifacts
if: runner.os == 'linux' && matrix.targetVSCode == 'latest'
uses: actions/upload-artifact@v3
with:
name: liberty-tools-vscode-${{ github.sha }}
path: ./**/*.vsix
if-no-files-found: warn
retention-days: 7
# Build the plugin.
- name: 'Test: RunTests'
run: bash ./src/test/resources/ci/scripts/exec.sh TEST ${{ matrix.targetVSCode }}