A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
ci: run python tests on pull requests and main
dextmorgn07584ebc4a40
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlnew file mode 100644index 00000000..d90142ea--- /dev/null+++ b/.github/workflows/tests.yml@@ -0,0 +1,31 @@+name: Tests++on:+ pull_request:+ push:+ branches:+ - main++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++jobs:+ test:+ name: Python tests+ runs-on: ubuntu-latest+ permissions:+ contents: read++ steps:+ - name: Checkout repository+ uses: actions/checkout@v6++ - name: Install uv+ uses: astral-sh/setup-uv@v7+ with:+ enable-cache: true++ # Same entrypoint as local development — keeps CI and `make test` in sync.+ - name: Run tests+ run: make testdiff --git a/Makefile b/Makefileindex 9f96966c..770d5d8d 100644--- a/Makefile+++ b/Makefile@@ -140,6 +140,7 @@ test:cd flowsint-types && uv run pytestcd flowsint-core && uv run pytestcd flowsint-enrichers && uv run pytest+ cd flowsint-api && uv run pytestinstall:$(MAKE) infra-dev