Skip to content

Commit

Permalink
chore: move chore scripts to dir test/chore 🧹
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed May 5, 2024
1 parent 41064df commit dccc957
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/variables#detecting-the-operating-system
# https://docs.github.com/en/actions/learn-github-actions/expressions
if: runner.os == 'macOS'
- run: test/integration-test.sh
- run: test/chore/integration-test.sh
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
- name: Check git dirty
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: test/lint.sh
- run: test/chore/lint.sh
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
- name: Check git dirty
run: |
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ realpath() {
[ -e "$1" ] && command realpath -- "$1"
}

cd "$(dirname -- "$(realpath "${BASH_SOURCE[0]}")")"
cd "$(dirname -- "$(realpath "${BASH_SOURCE[0]}")")"/..

################################################################################
# common util functions
Expand Down
2 changes: 1 addition & 1 deletion test/lint.sh → test/chore/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ realpath() {
}

# cd to the root of the project
cd "$(dirname -- "$(realpath "${BASH_SOURCE[0]}")")"/..
cd "$(dirname -- "$(realpath "${BASH_SOURCE[0]}")")"/../..

find bin lib -type f |
grep -Pv '/show-duplicate-java-classes$' |
Expand Down

0 comments on commit dccc957

Please sign in to comment.