Add log error messages to ObeliskError as well #12
This file contains hidden or 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
# Basic CI setup: Lint with ruff, run tests with pytest | |
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
# Do not lint for now, as the code is not yet compliant | |
#lint: | |
# name: Lint | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: astral-sh/setup-uv@v3 | |
# - name: Ruff lint | |
# run: uv run ruff check . | |
# - name: Ruff format | |
# run: uv run ruff format --diff . | |
# # This isn't a general Python lint, this style is just used in this repository | |
# - name: Prettier format | |
# run: npx prettier --prose-wrap always --check "**/*.md" | |
test: | |
name: Run tests | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v3 | |
- run: uv run pytest |