Skip to content

Enable native assertions in tests #49

Enable native assertions in tests

Enable native assertions in tests #49

Workflow file for this run

name: main
on: push
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Fetch sources
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
- name: Set up Ant
uses: cedx/setup-ant@v1
with:
optional-tasks: true
- name: Cache dependencies
uses: actions/cache@v3
with:
path: lib
key: java-${{runner.os}}-ivy-${{hashFiles('ivy.xml')}}
restore-keys: java-${{runner.os}}-ivy-
- name: Install dependencies
run: ant install
- name: Run tests
run: ant -emacs test
- name: Collect code coverage
if: success()
uses: codecov/codecov-action@v3
with:
files: var/coverage.xml