Skip to content

[1.2.x] Sync ballerina-1.2.49-stage with 1.2.x #385

[1.2.x] Sync ballerina-1.2.49-stage with 1.2.x

[1.2.x] Sync ballerina-1.2.49-stage with 1.2.x #385

name: 1.2.x Windows Tests (Without Integration Tests)
on: pull_request
jobs:
windows-build:
name: Windows
concurrency:
group: ${{ github.head_ref }}-tests-windows
cancel-in-progress: true
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
- name: Initialize Submodules
run: |
git submodule update --init
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
$home\.gradle\caches
$home\.gradle\wrapper
key: 1.2.x-${{ runner.os }}-gradle-${{ github.sha }}
restore-keys: 1.2.x-${{ runner.os }}-gradle-
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10.22.1'
- name: Run Unit Tests
run: |
git submodule init
git submodule update
./gradlew.bat build --no-parallel -x :ballerina-packerina:test -x :ballerina-lang:test -x :ballerina-file:test -x :ballerina-socket:test -x :jballerina-unit-test:test -x :jballerina-integration-test:test -x :ballerina-mysql:test -x createJavadoc --stacktrace -scan --console=plain --no-daemon