Scaffold the project: pyproject, gitignore, constants, Doxyfile, README, CI

Task: MIL-002#1
Task: MIL-002#2
Task: MIL-002#3
Task: MIL-002#4
Task: MIL-002#5
This commit is contained in:
2026-10-13 13:56:00 +08:00
parent d91161d5f8
commit abc20f477a
13 changed files with 375 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
# Run the tests on every push and pull request.
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install a virtual display and Tk
run: sudo apt-get update && sudo apt-get install -y xvfb python3-tk
- name: Install the development dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --group dev
- name: Run the tests
run: xvfb-run python -m pytest