Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Test windows WIP ⚓
Browse files Browse the repository at this point in the history
gabyx committed Sep 20, 2024
1 parent 64803ef commit 02030d9
Showing 2 changed files with 39 additions and 30 deletions.
64 changes: 35 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -41,41 +41,47 @@ workflows:
version: 2
test-all:
jobs:
- linux:
# - linux:
# matrix:
# parameters:
# test:
# [
# "test-alpine",
# "test-alpine-nolfs",
# "test-alpine-user",
# "test-centralized",
# "test-whitespace",
# "test-unittests",
# "test-unittests-podman",
# "test-lint",
# ]
# filters: &filters
# branches:
# only: &task-branches
# - /feature\/.*/
# - /feat\/.*/
# - /bugfix\/.*/
# - /fix\/.*/
# - linux:
# matrix:
# parameters:
# test: ["test-coverage"]
# filters:
# branches:
# only:
# - /feature\/.*/
# - /bugfix\/.*/
# - "main"

- windows:
matrix:
parameters:
test:
[
"test-alpine",
"test-alpine-nolfs",
"test-alpine-user",
"test-centralized",
"test-whitespace",
"test-unittests",
"test-unittests-podman",
"test-lint",
]
test: ["test-windows"]
seq: ["{005...006}"]
filters: &filters
branches:
only: &task-branches
- /feature\/.*/
- /feat\/.*/
- /bugfix\/.*/
- /fix\/.*/
- linux:
matrix:
parameters:
test: ["test-coverage"]
filters:
branches:
only:
- /feature\/.*/
- /bugfix\/.*/
- "main"

- windows:
matrix:
parameters:
test: ["test-windows"]
seq: ["{001..040}", "{041..080}", "{081..120}", "{120..200}"]
filters: *filters
5 changes: 4 additions & 1 deletion tests/steps/step-006.sh
Original file line number Diff line number Diff line change
@@ -61,5 +61,8 @@ mkdir -p "$GH_TEST_TMP/test6" &&
check_local_install_run_wrappers

# Reinstall and check again.
"$GH_INSTALL_BIN_DIR/githooks-cli" install
"$GH_INSTALL_BIN_DIR/githooks-cli" install || {
echo "! Reinstall failed."
exit 1
}
check_local_install_run_wrappers

0 comments on commit 02030d9

Please sign in to comment.