Skip to content

fix: update test workflows to fix failure #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
branches: [ "main" ]
paths:
- "**.py"
- "clang_tools/__init__.py"
- "**requirements*.txt"
- pyproject.toml
- .pre-commit-config.yaml
Expand Down Expand Up @@ -76,11 +77,11 @@ jobs:
needs: [build]
strategy:
matrix:
version: [ 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19 ]
version: [ 8, 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19, 20 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
exclude:
- version: 19
os: macos-latest # FIXME: https://github.com/cpp-linter/clang-tools-static-binaries/issues/40
# exclude:
# - version: 19
# os: macos-latest # FIXME: https://github.com/cpp-linter/clang-tools-static-binaries/issues/40
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion clang_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
suffix = ".exe" if install_os == "windows" else ""

# tag of https://github.com/cpp-linter/clang-tools-static-binaries/releases
release_tag = "master-4eaa4a54"
release_tag = "master-2da3e7b"
2 changes: 1 addition & 1 deletion clang_tools/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def clang_tools_binary_url(tool: str, version: str, tag: str = release_tag) -> s
:returns: The URL used to download the specified tool.
"""
base_url = (
"https://github.com/cpp-linter/clang-tools-static-binaries/releases/download/"
"https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/"
+ tag
)
download_url = f"{base_url}/{tool}-{version}_{install_os}-amd64{suffix}"
Expand Down
2 changes: 1 addition & 1 deletion tests/clang-format-12_linux-amd64.sha512sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d916477bdedd48245b6eedeb8680fcb0665a0145c7b078ddc4ba3f1fbc16eb6b081dc89f41242f228b723a472eb734836d1914178abdd94293a25a9e62eefc11 clang-format-12_linux-amd64
79afa99481f071bee2be3e72d2b1641b60427cc202360e44cf4e5dc6f977c4e4223e5a29430a15c9c80720dd6f75801f4811d2848ee52fe014fc232a99a589af clang-format-12_linux-amd64
2 changes: 1 addition & 1 deletion tests/clang-format-12_macosx-amd64.sha512sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2bf05024600216eef6da1884e35fc7a0b8a559dcff59d960c255034253727e2b24bc2b4310d6adb340b0afaea18fdf9a25fa303597b094316da95a07e5956c17 clang-format-12_macosx-amd64
f7ee4b9bbe169501f42dfd992c7ae0b56647328a83a0c5b17fd9581a1aed8f3d79598b1d210801f9c7bbe56ef54ac91f53e14275a0cbcb6c4061bbd7da61ecd9 clang-format-12_macosx-amd64
2 changes: 1 addition & 1 deletion tests/clang-format-12_windows-amd64.sha512sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e6af28b649411d9bd53b6a2dac85f1b99a20a6667c83cf0b10f78ec67027c89a720b8f7262c4b48315f4fc53b87099a5d0b9ef87adee94173976e5284b5f9adb *clang-format-12_windows-amd64
9f55fef798671a061fd382d652cf199d5ec947037d417e384494771595f8fcb78c7d9e315af3b3c8abca2f8ec7a9eb502675f689df79ebc3e5fc766cabd294f8 *clang-format-12_windows-amd64
Loading