Skip to content

fix: update hardcoded default branch references #690

fix: update hardcoded default branch references

fix: update hardcoded default branch references #690

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- run: uvx ruff check --output-format=github ./ms2pip
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- run: uv run --all-extras --group dev --python 3.13 ty check ms2pip/
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install and test
run: |
uv run --python ${{ matrix.python-version }} pytest
- name: Test CLI
run: |
uv run --python ${{ matrix.python-version }} ms2pip --help