Merge pull request #454 from AAVSO/452-magnitude-and-time-shifter-plu… #631
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Ant and run VStar's plugin UTs | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant | |
name: Plug-in Unit Tests | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '9', '11', '14', '15', '16' ] | |
name: Java ${{ matrix.Java }} Plugin UTs | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Create plugin dir | |
run: | |
mkdir -p ~/vstar_plugins | |
- name: Create plugin libs dir | |
run: | |
mkdir -p ~/vstar_plugin_libs | |
- name: Build with Ant | |
run: | | |
ant -noinput -buildfile build.xml dist | |
cd plugin | |
ant -noinput -buildfile build.xml test |