aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Cameron <git@jasoncameron.dev>2025-03-30 16:59:08 -0400
committerGitHub <noreply@github.com>2025-03-30 20:59:08 +0000
commiteab62f7611cb73ce4a42f3c668add023ad2530be (patch)
treed9ff8d395cc4ee4813df31de3b86fe5e97640ddd
parentc896c63a0b8a917eef6be958a5cdcef6a4a48d61 (diff)
downloadanubis-eab62f7611cb73ce4a42f3c668add023ad2530be.tar.xz
anubis-eab62f7611cb73ce4a42f3c668add023ad2530be.zip
fix(tests): disable integration tests on Windows due to posix feature reliance (#169)
Signed-off-by: Jason Cameron <git@jasoncameron.dev>
-rw-r--r--PULL_REQUEST_TEMPLATE.md2
-rw-r--r--docs/docs/CHANGELOG.md1
-rw-r--r--internal/test/playwright_test.go2
3 files changed, 4 insertions, 1 deletions
diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md
index e0ebdcb..edecf67 100644
--- a/PULL_REQUEST_TEMPLATE.md
+++ b/PULL_REQUEST_TEMPLATE.md
@@ -8,4 +8,4 @@ Checklist:
- [ ] Added a description of the changes to the `[Unreleased]` section of docs/docs/CHANGELOG.md
- [ ] Added test cases to [the relevant parts of the codebase](https://anubis.techaro.lol/docs/developer/code-quality)
-- [ ] Ran integration tests `npm run test:integration`
+- [ ] Ran integration tests `npm run test:integration` (unsupported on Windows, please use WSL)
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index 0ac4eee..7fbd1b3 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Use `TrimSuffix` instead of `TrimRight` on containerbuild
- Fix the startup logs to correctly show the address and port the server is listening on
- Add [LibreJS](https://www.gnu.org/software/librejs/) banner to Anubis JavaScript to allow LibreJS users to run the challenge
+- Disabled running integration tests on Windows hosts due to it's reliance on posix features (see [#133](https://github.com/TecharoHQ/anubis/pull/133#issuecomment-2764732309)).
## v1.15.0
diff --git a/internal/test/playwright_test.go b/internal/test/playwright_test.go
index d81b86a..9cd9ffe 100644
--- a/internal/test/playwright_test.go
+++ b/internal/test/playwright_test.go
@@ -1,3 +1,5 @@
+//go:build !windows
+
// Integration tests for Anubis, using Playwright.
//
// These tests require an already running Anubis and Playwright server.