Skip to content

Collected changes, and JUnit in CI #38

Collected changes, and JUnit in CI

Collected changes, and JUnit in CI #38

Workflow file for this run

name: Rust
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
build:
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
- name: Build
run: cargo build --verbose
- name: Run Rust tests
run: cargo test --verbose
- name: Run Java tests
run: make check_java
# We do not have Make set up on Windows, and for now we use Make to run
# the Java tests:
if: ${{ !startsWith(matrix.os, "windows") }}

Check failure on line 33 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 33, Col: 11): Unexpected symbol: '"windows"'. Located at position 24 within expression: !startsWith(matrix.os, "windows")
coverage:
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.16.0'
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1