All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.github.workflows.ant-javatest.yml Maven / Gradle / Ivy

Go to download

Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.

There is a newer version: 2.7.4
Show newest version
# Run ant javatest on Jython 2.7 (GitHub action)

name: ant javatest 2.7

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

permissions:
  contents: read

jobs:

  ant-javatest:

    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest]
        java: [8, 11]
      fail-fast: false

    steps:
    - run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."

    # Some tests require exactly-expected line endings
    - run: git config --global core.autocrlf input

    - uses: actions/checkout@v3

    - name: Set up JDK ${{ matrix.java }}
      uses: actions/setup-java@v3
      with:
        java-version: ${{ matrix.java }}
        distribution: 'temurin'

    - name: Build with Ant on ${{ matrix.os }}
      run: ant -noinput -buildfile build.xml developer-build

    - name: Unit test with Ant on ${{ matrix.os }}
      run: ant javatest-ci





© 2015 - 2024 Weber Informatics LLC | Privacy Policy