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:
@@ -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
|
||||
Reference in New Issue
Block a user