[WIP] Initial version #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Ubuntu packages | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
sudo apt update | |
sudo apt -y install maven python3 pipx | |
pipx install poetry | |
- name: Setup GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '17' | |
distribution: 'graalvm' | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: poetry install | |
- name: Build wheel | |
run: poetry build | |
- name: Run tests | |
run: poetry run pytest |