Skip to content

Commit

Permalink
ci: add test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Teagum committed Jul 29, 2023
1 parent 3bb5097 commit 772888a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test

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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[![publish-releases](https://github.com/Teagum/chainsaddiction/actions/workflows/release.yml/badge.svg)](
https://github.com/Teagum/chainsaddiction/actions/workflows/release.yml)

[![tests](https://github.com/Teagum/chainsaddiction/actions/workflows/test.yml/badge.svg)](
https://github.com/Teagum/chainsaddiction/actions/workflows/test.yml)

# ChainsAddiction

ChainsAddiction is an easy to use tool for time series analysis using
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[tox]
requires = numpy >= 1.20
envlist = py37,py38,py39
requires = numpy >= 1.25
envlist = py39,py310,py311

[testenv]
deps =
numpy
pytest
hypothesis

0 comments on commit 772888a

Please sign in to comment.