Skip to content

fix maven auto build bug #338

fix maven auto build bug

fix maven auto build bug #338

Workflow file for this run

name: Build and test
on:
pull_request:
branches: [ main, dependencies ]
jobs:
test:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Build with Maven
run: |
mvn package --file java/pom.xml
mvn dependency:copy-dependencies --file java/pom.xml
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Test with pytest
run: |
pytest -v -s