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
8 changes: 5 additions & 3 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Test Suite

on:
push:
branches: ["master"]
branches: ["main"]
pull_request:
branches: ["master", "version-*"]
branches: ["main"]

jobs:
tests:
Expand All @@ -23,6 +23,8 @@ jobs:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: "scripts/install"
- name: "Run tests"
run: "scripts/test"

# - name: "Run linting checks"
# run: "scripts/check"
Expand All @@ -31,4 +33,4 @@ jobs:
# - name: "Run tests"
# run: "scripts/test"
# - name: "Enforce coverage"
# run: "scripts/coverage"
# run: "scripts/coverage"
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
-e .

pytest
10 changes: 10 additions & 0 deletions scripts/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh -e

export PREFIX=""
if [ -d 'venv' ] ; then
export PREFIX="venv/bin/"
fi

set -x

${PREFIX}pytest "$@"
2 changes: 2 additions & 0 deletions tests/test_mkdocs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def test_mkdocs():
pass