Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ jobs:
- uses: actions/checkout@v6
- uses: EmbarkStudios/cargo-deny-action@v2

miri:
name: Miri
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@miri
- run: cargo miri test
env:
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-disable-isolation
# miri:
# name: Miri
# runs-on: ubuntu-latest
# timeout-minutes: 45
# steps:
# - uses: actions/checkout@v6
# - uses: dtolnay/rust-toolchain@miri
# - run: cargo miri test
# env:
# MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-disable-isolation

wasm:
name: Wasm
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gfcore"
description = "Go Fish card game engine"
version = "0.0.2"
version = "0.0.3"
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean build test test-unit test-doc build-wasm test-wasm coverage build_test fmt clippy create_docs ayce default help docs test-nightly clippy-nightly nightly miri mutants tree tree-duplicates deny audit unused-deps install-tools install-nextest install-mutants install-llvm-cov install-wasm-bindgen-cli watch install-watch
.PHONY: clean build test test-unit test-doc build-wasm test-wasm coverage build_test fmt clippy create_docs ayce default help docs test-nightly clippy-nightly nightly miri mutants marathon tree tree-duplicates deny audit unused-deps install-tools install-nextest install-mutants install-llvm-cov install-wasm-bindgen-cli watch install-watch

# Default target
default: ayce
Expand All @@ -12,6 +12,7 @@ help:
@echo " make test - Run all tests (nextest for unit, cargo test for doc)"
@echo " make test-unit - Run unit tests via cargo-nextest"
@echo " make test-doc - Run doc tests via cargo test --doc"
@echo " make marathon - Run 100-game bot marathon stress test"
@echo " make build-wasm - Build for wasm32-unknown-unknown with --features wasm"
@echo " make test-wasm - Run wasm runtime tests (requires wasm-bindgen-cli + node)"
@echo " make coverage - Generate test coverage report via cargo-llvm-cov"
Expand Down Expand Up @@ -70,6 +71,10 @@ define check_nextest
fi
endef

# Run the 100-game bot marathon stress test
marathon:
cargo test --test bot_marathon -- --include-ignored --nocapture

# Run unit tests via nextest
test-unit:
$(check_nextest)
Expand Down
Loading
Loading