Skip to content

New test case: jj-field-static-2 #580

New test case: jj-field-static-2

New test case: jj-field-static-2 #580

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: build_and_test
on:
push:
paths-ignore:
- '*.md'
- '*.py'
- '*.txt'
branches: [ "main" ]
pull_request:
paths-ignore:
- '*.md'
branches: [ "main" ]
jobs:
build_and_test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Setup Go
uses: actions/setup-go@main
with:
go-version: '1.21.x'
cache: true
cache-dependency-path: "**/go.sum"
- name: Build Jacotest
run: |
cd src
go get github.com/mattn/go-sqlite3
go build -o . -v ./...
cd ..
pwd
./src/jacotest -h
- name: Setup JDK
uses: actions/setup-java@main
with:
distribution: 'oracle'
java-version: '21'
- name: Run Test Cases
run: |
java --version
javac --version
./src/jacotest -c -x -M -t 60 -j openjdk
ls -l ./reports
- name: Run options
run: |
./src/jacotest -r 1 -j openjdk
./src/jacotest -r 2 -j openjdk
./src/jacotest -z -v -j openjdk