Skip to content

Catch BaseException, not only Exception #72

Catch BaseException, not only Exception

Catch BaseException, not only Exception #72

Workflow file for this run

name: build
on:
push:
branches:
- main
tags:
- "*-[0-9]+.*"
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
- name: Set up uv
run: |
python -m pip install --upgrade pip
python -m pip install uv
- name: Run the tests
shell: bash
run: |
bin/test.sh
- name: Lint the code
shell: bash
run: |
bin/lint.sh