Skip to content

Merge dev into main #1145

Merge dev into main

Merge dev into main #1145

Workflow file for this run

name: Test Code on macOS
on:
push:
branches: [ main ]
pull_request:
branches: [ dev, main ]
jobs:
test_code:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
#- ubuntu-latest
- macOS-latest
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | sudo bash -
#icon docker -ic --user-to-docker ""
curl -LsSf https://astral.sh/uv/install.sh | sh
~/.local/bin/uv sync
brew install libmagic
brew link libmagic
- name: Test with pytest
run: |
~/.local/bin/uv run pytest