Skip to content

Runs nightly tests on master #1243

Runs nightly tests on master

Runs nightly tests on master #1243

name: Runs nightly tests on master
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
node-versions:
uses: ./.github/workflows/get-supported-node-versions.yml
run-tests:
runs-on: ${{ matrix.os }}
needs: node-versions
name: Run tests of master on ${{ matrix.os }} with Node ${{ matrix.nodejs_version }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
nodejs_version: ${{ fromJSON(needs.node-versions.outputs.node-versions) }}
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Read Java Config
shell: bash
run: cat .github/java-config.env >> $GITHUB_ENV
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs_version }}
- name: Checkout to test artifacts
uses: actions/checkout@v4
with:
repository: hazelcast/private-test-artifacts
path: certs
ref: data
token: ${{ secrets.GH_TOKEN }}
- name: Copy certificates JAR to destination with the appropriate name
run: |
cp ${{ github.workspace }}/certs/certs.jar ${{ github.workspace }}/certs.jar
unzip -p ${{ github.workspace }}/certs.jar com/hazelcast/nio/ssl/letsencrypt.jks > test/integration/backward_compatible/parallel/ssl/keystore.jks
- name: Install dependencies and compile client
run: |
npm install
npm run compile
- name: Validate User Code
run: npm run validate-user-code
- name: Run tests
env:
HAZELCAST_ENTERPRISE_KEY: ${{ secrets.HAZELCAST_ENTERPRISE_KEY }}
run: npm run test