File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 branches : [ "main", "dev" ]
1111
1212jobs :
13- # there is no python3.6 available on newer ubuntu instances
14- # so we have this one to run on ubuntu-20.04
15- test-python36 :
16- runs-on : ubuntu-20.04
17- strategy :
18- fail-fast : false
19- matrix :
20- python-version : ["3.6", "3.7"]
21-
22- steps :
23- - uses : actions/checkout@v4
24- - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v3
26- with :
27- python-version : ${{ matrix.python-version }}
28- - name : Install dependencies
29- run : |
30- python -m pip install --upgrade pip
31- python -m pip install flake8 pytest
32- pip install -r requirements.txt
33- pip install -r requirements_ci.txt
34- - name : Lint with flake8
35- run : |
36- # stop the build if there are Python syntax errors or undefined names
37- flake8 . --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics
38- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
39- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
40- - name : Test with pytest
41- run : |
42- pytest --cov=PyNomaly
43-
4413 test :
4514
4615 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ This Python 3 implementation uses Numpy and the formulas outlined in
3939to calculate the Local Outlier Probability of each sample.
4040
4141## Dependencies
42- - Python 3.6 - 3.13
42+ - Python 3.8 - 3.13
4343- numpy >= 1.16.3
4444- python-utils >= 2.3.0
4545- (optional) numba >= 0.45.1
You can’t perform that action at this time.
0 commit comments