Skip to content

Commit

Permalink
Amend CI testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Aug 17, 2024
1 parent 5727743 commit 9a13416
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ jobs:

- name: Test CLI
if: matrix.run_tests == true
run: ./test_ci.sh
run: ./test_ci.sh "${{ matrix.target }}/release"

- name: Move extended binary aside
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ jobs:
run: cargo test --release --lib --features extended

- name: Test CLI
run: ./test_ci.sh
run: ./test_ci.sh "release"
2 changes: 1 addition & 1 deletion test_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR

PAGEFIND=$(realpath "$SCRIPT_DIR/target/release/pagefind")
PAGEFIND=$(realpath "$SCRIPT_DIR/target/$1/pagefind")
REPO_WD=$(realpath "$SCRIPT_DIR")

npx -y toolproof@0.3.0 --placeholders pagefind_exec_path="$PAGEFIND" repo_wd="$REPO_WD" -c 1

0 comments on commit 9a13416

Please sign in to comment.