name: Tests

on: [push, pull_request]

jobs:
  test_som:
    runs-on: ubuntu-20.04 # ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          submodules: true

      - name: NPM Install
        run: |
          npm install .

      # - name: CheckStyle
      #   run: |
      #     ant -e checkstyle

      # - name: Download Eclipse
      #   run: |
      #     export ECLIPSE_TAR=eclipse.tar.gz
      #     export ECLIPSE_URL=https://ftp.snt.utwente.nl/pub/software/eclipse/eclipse/downloads/drops4/R-4.19-202103031800/eclipse-SDK-4.19-linux-gtk-x86_64.tar.gz
      #     curl ${ECLIPSE_URL} -o ${ECLIPSE_TAR}
      #     tar -C ${GITHUB_WORKSPACE}/.. -xzf ${ECLIPSE_TAR}

      # - name: Check Eclipse Format
      #   run: |
      #     export ECLIPSE_EXE=${GITHUB_WORKSPACE}/../eclipse/eclipse
      #     ant -e eclipseformat

Add minimal github action setup
Add minimal github action setup

Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
