Skip to content

Commit

Permalink
Add Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BasicWolf committed Oct 24, 2024
1 parent f0e7c9b commit 7115d5f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: "Setup Python"
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: "Install Dependencies"
run: pip install -r requirements.txt

- name: "Build"
run: make build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all:
@echo ' make docs generate documentation'


dev: test docs
build: test docs

test:
PYTHONPATH=src/:$(PYTHONPATH) pytest --junitxml=test_result.xml src/test/
Expand Down

0 comments on commit 7115d5f

Please sign in to comment.