Skip to content

typo

typo #24

Workflow file for this run

# .github/workflows/test.yml
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.12', '3.13']
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: |
pip install hatch # Install hatch for dependency management
shell: bash
- name: Install environment using Hatch
run: |
hatch env create # Create a new environment
shell: bash
- name: run tests
run: |
hatch run pytest test/ # Run tests using pytest
shell: bash
# Many issue installing just and calling it in windows (using hatch directly instead of justfile)
#- name: Install dependencies using Just
# run: just install # This will run `hatch env create` via the justfile
# shell: bash
#- name: Run tests using Just
# run: just test # This will run the 'test' task from justfile
# shell: bash