Skip to content

CI

CI #3799

Workflow file for this run

name: CI
on:
push:
branches:
- master
- prod
pull_request:
branches:
- master
- prod
schedule:
- cron: '0 4 * * *'
jobs:
Test:
name: Run tests
strategy:
matrix:
profile: [ generator-tests-jdk17,generator-tests-jdk21,generator-tests-jdk25,no-generator-tests ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: |
17
21
25
- name: Run tests
run: mvn test -P ${{ matrix.profile }}
Deploy:
name: Deploy to starter machine
if: ${{ github.repository_owner == 'vert-x3' && github.event_name == 'push' && github.ref == 'refs/heads/prod' }}
needs: Test
uses: ./.github/workflows/deploy.yml
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}