diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 0250353..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Lint - -on: - push: - branches: - - main - pull_request: - branches: - - '**' - workflow_call: # Allows this workflow to be called by other workflows - -jobs: - lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - - name: Cache pip packages - id: cache-deps - uses: actions/cache@v3 - with: - path: ~/.local - key: pip-${{ runner.os }}-python-3.12-${{ hashFiles('pyproject.toml') }} - restore-keys: | - pip-${{ runner.os }}-python-3.12- - - - name: Install dependencies - if: steps.cache-deps.outputs.cache-hit != 'true' - run: | - python -m pip install --upgrade pip - python -m pip install -e ".[dev]" --user - - - name: Check formatting with ruff - run: | - ruff format --check . - - - name: Lint with ruff - run: | - ruff check . - - - name: Type check with mypy - run: | - python -m mypy tabstack/ - continue-on-error: true # Allow mypy failures for now diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cda27b8..cb3be80 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,8 @@ on: release: types: [created] +if: false # Temporarily disabled + permissions: id-token: write # Required for trusted publishing to PyPI contents: read diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index fb4e93c..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Test - -on: - push: - branches: - - main - pull_request: - branches: - - '**' - workflow_call: # Allows this workflow to be called by other workflows - -jobs: - test: - name: Python ${{ matrix.python-version }} - runs-on: ubuntu-latest - - strategy: - matrix: - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] - fail-fast: false - - steps: - - uses: actions/checkout@v4 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Cache pip packages - id: cache-deps - uses: actions/cache@v3 - with: - path: ~/.local - key: pip-${{ runner.os }}-python-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }} - restore-keys: | - pip-${{ runner.os }}-python-${{ matrix.python-version }}- - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -e ".[dev]" - - - name: Run tests with pytest - run: | - python -m pytest tests/ -v --cov=tabstack --cov-report=term-missing --cov-report=xml - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - if: matrix.python-version == '3.12' - with: - file: ./coverage.xml - fail_ci_if_error: false