Skip to content

Commit eb9e7ab

Browse files
authored
Merge pull request #19 from rpartzsch/ci-unit-tests
CI unit tests
2 parents d158fb9 + ce67511 commit eb9e7ab

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
tests:
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, "macos-latest", "windows-latest"]
12+
python-version: ["3.10", "3.11", "3.12", "3.13"]
13+
14+
runs-on: ${{matrix.os}}
15+
16+
steps:
17+
- uses: actions/checkout@v5
18+
- uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
pip install -e .
24+
pip install pytest
25+
26+
- name: Test with pytest
27+
run: |
28+
pytest

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Pixel Clusterizer [![Build Status](https://travis-ci.org/SiLab-Bonn/pixel_clusterizer.svg?branch=master)](https://travis-ci.org/SiLab-Bonn/pixel_clusterizer) [![Build status](https://ci.appveyor.com/api/projects/status/c8jqu9ow696opevf?svg=true)](https://ci.appveyor.com/project/laborleben/pixel-clusterizer) [![Coverage Status](https://coveralls.io/repos/github/SiLab-Bonn/pixel_clusterizer/badge.svg?branch=master)](https://coveralls.io/github/SiLab-Bonn/pixel_clusterizer?branch=master)
2+
[![tests](https://github.com/SiLab-Bonn/pixel_clusterizer/actions/workflows/tests.yml/badge.svg)](https://github.com/SiLab-Bonn/pixel_clusterizer/actions/workflows/tests.yml)
23

34
## Intended Use
45

0 commit comments

Comments
 (0)