Skip to content

Commit 5727743

Browse files
authored
Merge pull request #683 from CloudCannon/feat/toolproof
The long-awaited "make the tests good" PR
2 parents 7c66b6d + 3628860 commit 5727743

File tree

294 files changed

+7508
-6483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+7508
-6483
lines changed

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,7 @@ jobs:
475475

476476
- name: Test CLI
477477
if: matrix.run_tests == true
478-
working-directory: ./pagefind
479-
run: TEST_BINARY=../target/${{ matrix.target }}/release/pagefind humane
478+
run: ./test_ci.sh
480479

481480
- name: Move extended binary aside
482481
run: |

.github/workflows/test.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11-
HUMANE_VERSION: "0.9.0"
1211
WASM_PACK_VERSION: "v0.10.3"
1312

1413
jobs:
@@ -19,6 +18,7 @@ jobs:
1918
run:
2019
shell: bash
2120
strategy:
21+
fail-fast: false
2222
matrix:
2323
include:
2424
- build: linux
@@ -75,13 +75,6 @@ jobs:
7575
with:
7676
version: ${{env.WASM_PACK_VERSION}}
7777

78-
- name: Install humane
79-
uses: supplypike/setup-bin@v3
80-
with:
81-
uri: "https://github.com/CloudCannon/humane/releases/download/v${{env.HUMANE_VERSION}}/humane-v${{env.HUMANE_VERSION}}-${{matrix.target}}.tar.gz"
82-
name: "humane"
83-
version: ${{env.HUMANE_VERSION}}
84-
8578
- name: Build Coupled JS
8679
working-directory: ./pagefind_web_js
8780
run: npm i && npm run build-coupled
@@ -117,5 +110,4 @@ jobs:
117110
run: cargo test --release --lib --features extended
118111

119112
- name: Test CLI
120-
working-directory: ./pagefind
121-
run: TEST_BINARY=../target/release/pagefind humane
113+
run: ./test_ci.sh

pagefind/features/anchors.feature

-175
This file was deleted.

pagefind/features/anchors_example.feature

-54
This file was deleted.

pagefind/features/base.feature

-81
This file was deleted.

0 commit comments

Comments
 (0)