Skip to content

Commit

Permalink
Merge pull request #683 from CloudCannon/feat/toolproof
Browse files Browse the repository at this point in the history
The long-awaited "make the tests good" PR
  • Loading branch information
bglw committed Aug 17, 2024
2 parents 7c66b6d + 3628860 commit 5727743
Show file tree
Hide file tree
Showing 294 changed files with 7,508 additions and 6,483 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,7 @@ jobs:

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

- name: Move extended binary aside
run: |
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

env:
CARGO_TERM_COLOR: always
HUMANE_VERSION: "0.9.0"
WASM_PACK_VERSION: "v0.10.3"

jobs:
Expand All @@ -19,6 +18,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
include:
- build: linux
Expand Down Expand Up @@ -75,13 +75,6 @@ jobs:
with:
version: ${{env.WASM_PACK_VERSION}}

- name: Install humane
uses: supplypike/setup-bin@v3
with:
uri: "https://github.com/CloudCannon/humane/releases/download/v${{env.HUMANE_VERSION}}/humane-v${{env.HUMANE_VERSION}}-${{matrix.target}}.tar.gz"
name: "humane"
version: ${{env.HUMANE_VERSION}}

- name: Build Coupled JS
working-directory: ./pagefind_web_js
run: npm i && npm run build-coupled
Expand Down Expand Up @@ -117,5 +110,4 @@ jobs:
run: cargo test --release --lib --features extended

- name: Test CLI
working-directory: ./pagefind
run: TEST_BINARY=../target/release/pagefind humane
run: ./test_ci.sh
175 changes: 0 additions & 175 deletions pagefind/features/anchors.feature

This file was deleted.

54 changes: 0 additions & 54 deletions pagefind/features/anchors_example.feature

This file was deleted.

81 changes: 0 additions & 81 deletions pagefind/features/base.feature

This file was deleted.

Loading

0 comments on commit 5727743

Please sign in to comment.