File tree Expand file tree Collapse file tree 5 files changed +42
-38
lines changed
Expand file tree Collapse file tree 5 files changed +42
-38
lines changed Original file line number Diff line number Diff line change 1+ name : Ubuntu CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ tags : ['v*']
7+ pull_request :
8+ branches : [ master ]
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-18.04
13+ strategy :
14+ matrix :
15+ python-version : [3.7, 3.8, 3.9]
16+ steps :
17+ - name : Checkout source code
18+ uses : actions/checkout@v2
19+ with :
20+ submodules : true
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v2
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ - name : Install dependencies
26+ run : |
27+ sudo apt-get update
28+ sudo apt-get install -y curl
29+ - name : Install poetry
30+ run : |
31+ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
32+ echo "$HOME/.poetry/bin" >> $GITHUB_PATH
33+ - name : Setup
34+ run : make setup
35+ - name : Test
36+ run : make test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11setup :
2- pip install pipenv
3- pipenv run pip install pip==18.0
4- pipenv install --dev
5- pipenv run pip install -e .
2+ poetry self update
3+ poetry install --no-interaction
4+ poetry run pip install -e .
65
76test :
8- pipenv run python -m unittest discover
7+ poetry run python -m unittest discover
Original file line number Diff line number Diff line change 11# ![ logo] ( https://raw.githubusercontent.com/neka-nat/probreg/master/images/logo.png )
2- [ ![ Build Status ] ( https://travis-ci.org /neka-nat/probreg. svg?branch=master )] ( https://travis-ci.org /neka-nat/probreg )
2+ [ ![ Build status ] ( https://github.com /neka-nat/probreg/actions/workflows/ubuntu.yaml/badge. svg )] ( https://github.com /neka-nat/probreg/actions/workflows/ubuntu.yaml/badge.svg )
33[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/mdoohms52gnq6law?svg=true )] ( https://ci.appveyor.com/project/neka-nat/probreg )
44[ ![ PyPI version] ( https://badge.fury.io/py/probreg.svg )] ( https://badge.fury.io/py/probreg )
55[ ![ MIT License] ( http://img.shields.io/badge/license-MIT-blue.svg?style=flat )] ( LICENSE )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ authors = ["nekanat <nekanat.stock@gmail.com>"]
66license = " MIT"
77
88[tool .poetry .dependencies ]
9- python = " ^ 3.7"
9+ python = " >= 3.7,<3.10 "
1010pybind11 = " ^2.6.2"
1111six = " ^1.15.0"
1212scipy = " ^1.6.0"
You can’t perform that action at this time.
0 commit comments