Skip to content

Commit

Permalink
Add build and test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eomielan committed Aug 18, 2024
1 parent d68bd37 commit 6864095
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Build project
run: make

- name: Run tests
working-directory: src/test
run: pytest

0 comments on commit 6864095

Please sign in to comment.