diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4222fd4..8fa1713 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,3 @@ - name: tests permissions: contents: read @@ -17,15 +16,18 @@ jobs: fail-fast: false matrix: python-version: ["3.14", "3.13", "3.12"] - os: [ubuntu-latest, macos-latest] # TODO: windows-latest + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - name: Checkout + - name: 'Install git on Windows via Chocolatey' + if: runner.os == 'Windows' run: | - echo $GITHUB_REF $GITHUB_SHA - git clone https://github.com/$GITHUB_REPOSITORY.git . - git fetch origin $GITHUB_SHA:temporary-ci-branch - git checkout $GITHUB_SHA || (git fetch && git checkout $GITHUB_SHA) + choco install git -y + + - name: 'Checkout' + uses: actions/checkout@main + with: + fetch-depth: 0 - name: 'Set up Python ${{ matrix.python-version }}' uses: actions/setup-python@main @@ -44,31 +46,31 @@ jobs: - name: 'Bootstrap app venv' # The first CLI call will create the .venv run: | - ./cli.py version + python3 cli.py version - name: 'app CLI help' run: | - ./cli.py --help + python3 cli.py --help - name: 'Bootstrap dev venv' # The first CLI call will create the .venv run: | - ./dev-cli.py version + python3 dev-cli.py version - name: 'dev CLI help' run: | - ./dev-cli.py --help + python3 dev-cli.py --help - name: 'Run pip-audit' run: | - ./dev-cli.py pip-audit + python3 dev-cli.py pip-audit - name: 'Run tests with Python v${{ matrix.python-version }}' env: PYTHONUNBUFFERED: 1 PYTHONWARNINGS: always run: | - ./dev-cli.py coverage + python3 dev-cli.py coverage - name: 'Upload coverage report' uses: codecov/codecov-action@main @@ -78,4 +80,3 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false verbose: true - diff --git a/README.md b/README.md index 5bd92fd..169390b 100644 --- a/README.md +++ b/README.md @@ -284,6 +284,8 @@ Overview of main changes: [comment]: <> (✂✂✂ auto generated history start ✂✂✂) +* [**dev**](https://github.com/jedie/PyHardLinkBackup/compare/v1.8.1...main) + * 2026-01-25 - Github CI: Activate tests under windows * [v1.8.1](https://github.com/jedie/PyHardLinkBackup/compare/v1.8.0...v1.8.1) * 2026-01-24 - Update packaging commands related to new direct "uv" usage * 2026-01-24 - Bugfix "rebuild" command @@ -300,11 +302,11 @@ Overview of main changes: * 2026-01-22 - Optimize progress bars for smaller screens * [v1.7.3](https://github.com/jedie/PyHardLinkBackup/compare/v1.7.2...v1.7.3) * 2026-01-21 - Handle directory symlinks correct -* [v1.7.2](https://github.com/jedie/PyHardLinkBackup/compare/v1.7.1...v1.7.2) - * 2026-01-21 - Display "Remaining time" to files and sizes, too.
Expand older history entries ... +* [v1.7.2](https://github.com/jedie/PyHardLinkBackup/compare/v1.7.1...v1.7.2) + * 2026-01-21 - Display "Remaining time" to files and sizes, too. * [v1.7.1](https://github.com/jedie/PyHardLinkBackup/compare/v1.7.0...v1.7.1) * 2026-01-19 - Update requirements to fix problems under Windows * [v1.7.0](https://github.com/jedie/PyHardLinkBackup/compare/v1.6.0...v1.7.0)