Skip to content

Commit

Permalink
ci: add test worklow
Browse files Browse the repository at this point in the history
  • Loading branch information
Teagum committed Aug 2, 2023
1 parent b277d08 commit c695a49
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: tests

on: [push]

jobs:
run-unittests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: |
3.9
3.10
3.11
- run: python3 -m pip install --user pipx
- run: python3 -m pipx ensurepath
- run: pipx install tox
- run: tox r

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![tests](https://github.com/ifsm/apollon/actions/workflows/tests.yml/badge.svg)](
https://github.com/ifsm/apollon/actions/workflows/tests.yml)

# Apollon
Apollon is a Python framework for audio feature extraction and music similarity
estimation. It includes subpackages for
Expand All @@ -12,7 +15,7 @@ The latest version of apollon is available on PyPI. Just open a terminal an run
the following command to download and install apollon:

```
pip install apollon
pip install apollon
```

We currently provide wheels for macOS and Windows; GNU/Linux users have to
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[tox]
requires = numpy >= 1.20
envlist = py37,py38,py39
envlist = py38,py39,py311

[testenv]
deps =
pytest
hypothesis

0 comments on commit c695a49

Please sign in to comment.