Skip to content

Major documentation overhaul + Adaptive acquisition, python backend tests/documentation #440

Major documentation overhaul + Adaptive acquisition, python backend tests/documentation

Major documentation overhaul + Adaptive acquisition, python backend tests/documentation #440

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