Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pawamoy/failprint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d4a1c5a04930395a6072e24333be55e572479bc9
Choose a base ref
..
head repository: pawamoy/failprint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2446bddcaabda6c04d55e13bbff53398e8ea4350
Choose a head ref
Showing with 53 additions and 14 deletions.
  1. +53 −14 .github/workflows/ci.yml
67 changes: 53 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,10 @@ on:
branches:
- main

defaults:
run:
shell: bash

env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
@@ -56,27 +60,20 @@ jobs:
strategy:
matrix:
os:
- name: ubuntu-latest
shell: bash
- name: macos-latest
shell: bash
- name: windows-latest
shell: bash
- name: windows-latest
shell: pwsh
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- "3.13"
resolution:
- highest
- lowest-direct
exclude:
- os:
name: macos-latest
- os: macos-latest
resolution: lowest-direct
- os:
name: windows-latest
- os: windows-latest
resolution: lowest-direct
runs-on: ${{ matrix.os.name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.python-version == '3.14' }}

steps:
@@ -104,5 +101,47 @@ jobs:
UV_RESOLUTION: ${{ matrix.resolution }}
run: make setup

- name: Run the test suite on ${{ matrix.os.shell }}
- name: Run the test suite
run: make test

tests-pwsh:
defaults:
run:
shell: pwsh
strategy:
matrix:
os:
- windows-latest
python-version:
- "3.13"
resolution:
- highest
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Setup uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: pyproject.toml
cache-suffix: py${{ matrix.python-version }}

- name: Install dependencies
env:
UV_RESOLUTION: ${{ matrix.resolution }}
run: make setup

- name: Run the test suite
run: make test