Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test on different python version #17

Merged
merged 86 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
1e5e647
Bump gitpython from 3.1.40 to 3.1.41 in /anomaly-detector (#4)
dependabot[bot] Jan 18, 2024
2e4aaef
Bump jinja2 from 3.1.2 to 3.1.3 in /anomaly-detector (#6)
dependabot[bot] Jan 18, 2024
90240c0
add build workflow
CodeFree-xzk Jan 18, 2024
1326bc3
add build workflow
CodeFree-xzk Jan 19, 2024
eb32026
add build workflow
CodeFree-xzk Jan 19, 2024
d3c5461
Merge branch 'microsoft:dev' into dev
CodeFree-xzk Jan 22, 2024
acc3eb6
test poetry install
CodeFree-xzk Jan 23, 2024
4fc3547
test poetry install
CodeFree-xzk Jan 23, 2024
215ad81
test poetry install
CodeFree-xzk Jan 23, 2024
b481080
test poetry install
CodeFree-xzk Jan 23, 2024
dad2059
test poetry install
CodeFree-xzk Jan 23, 2024
a1534d7
test poetry install
CodeFree-xzk Jan 23, 2024
06a221e
test poetry install
CodeFree-xzk Jan 23, 2024
04c69ff
test poetry install
CodeFree-xzk Jan 23, 2024
ac52f50
test poetry install
CodeFree-xzk Jan 23, 2024
ac0d75a
test poetry install
CodeFree-xzk Jan 23, 2024
d62697b
test poetry install
CodeFree-xzk Jan 23, 2024
6002f1a
test poetry install
CodeFree-xzk Jan 23, 2024
5e6f671
test poetry install
CodeFree-xzk Jan 23, 2024
a77eba5
test poetry install
CodeFree-xzk Jan 23, 2024
786a0de
Merge https://github.com/CodeFree-xzk/anomaly-detector into dev
CodeFree-xzk Jan 23, 2024
456ba40
test poetry install
CodeFree-xzk Jan 23, 2024
884d1b8
test poetry install
CodeFree-xzk Jan 23, 2024
46274b8
test poetry install
CodeFree-xzk Jan 23, 2024
445d961
test poetry install
CodeFree-xzk Jan 23, 2024
2ebfa25
test poetry install
CodeFree-xzk Jan 23, 2024
2713f9e
test poetry install
CodeFree-xzk Jan 23, 2024
900274a
test poetry install
CodeFree-xzk Jan 23, 2024
f5317e9
test poetry install
CodeFree-xzk Jan 23, 2024
e2bc34e
test poetry install
CodeFree-xzk Jan 23, 2024
c3dc1b0
test poetry install
CodeFree-xzk Jan 23, 2024
dcf73a1
test poetry install
CodeFree-xzk Jan 23, 2024
5e62d22
test poetry install
CodeFree-xzk Jan 23, 2024
87a2dc5
test poetry install
CodeFree-xzk Jan 23, 2024
e73bdc9
test poetry install
CodeFree-xzk Jan 23, 2024
345a08f
test poetry install
CodeFree-xzk Jan 23, 2024
aad813b
test poetry install
CodeFree-xzk Jan 23, 2024
3ddca53
test poetry install
CodeFree-xzk Jan 23, 2024
06c593f
test poetry install
CodeFree-xzk Jan 24, 2024
fb68b55
test poetry install
CodeFree-xzk Jan 24, 2024
0be9250
test poetry install
CodeFree-xzk Jan 24, 2024
c0fb38b
test poetry install
CodeFree-xzk Jan 24, 2024
5fd4f41
test poetry install
CodeFree-xzk Jan 24, 2024
45df731
test poetry install
CodeFree-xzk Jan 24, 2024
b7f3ca1
test poetry install
CodeFree-xzk Jan 24, 2024
b801d7f
test poetry install
CodeFree-xzk Jan 24, 2024
0a0dfe7
test poetry install
CodeFree-xzk Jan 24, 2024
27a2839
test poetry install
CodeFree-xzk Jan 24, 2024
b529565
test poetry install
CodeFree-xzk Jan 24, 2024
bd10906
test poetry install
CodeFree-xzk Jan 24, 2024
b8c0769
test poetry install
CodeFree-xzk Jan 24, 2024
b3b6db9
test poetry install
CodeFree-xzk Jan 24, 2024
74de3fd
test poetry install
CodeFree-xzk Jan 24, 2024
4cd496c
test poetry install
CodeFree-xzk Jan 24, 2024
b304f55
test poetry install
CodeFree-xzk Jan 24, 2024
39455ad
test poetry install
CodeFree-xzk Jan 24, 2024
e55aa76
test poetry install
CodeFree-xzk Jan 24, 2024
da7454e
merge
CodeFree-xzk Jan 24, 2024
ba71658
merge
CodeFree-xzk Jan 24, 2024
4a44aed
add more test cases
CodeFree-xzk Jan 24, 2024
82b00e3
delete some uvad test cases
CodeFree-xzk Jan 24, 2024
db0b4a7
delete some uvad test cases
CodeFree-xzk Jan 24, 2024
e1115fa
add different python version
CodeFree-xzk Jan 24, 2024
049d317
add different python version
CodeFree-xzk Jan 24, 2024
777ae37
add different python version
CodeFree-xzk Jan 24, 2024
68268d1
add different python version
CodeFree-xzk Jan 25, 2024
1f95839
add different python version
CodeFree-xzk Jan 25, 2024
5507c19
add different python version
CodeFree-xzk Jan 25, 2024
84f5f56
add different python version
CodeFree-xzk Jan 25, 2024
764e3d1
add different python version
CodeFree-xzk Jan 25, 2024
ea26a72
add different python version
CodeFree-xzk Jan 25, 2024
4e71716
add different python version
CodeFree-xzk Jan 25, 2024
fd51702
add different python version
CodeFree-xzk Jan 25, 2024
d07414e
add different python version
CodeFree-xzk Jan 25, 2024
3788f47
add different python version
CodeFree-xzk Jan 25, 2024
8a0b8e1
add different python version
CodeFree-xzk Jan 25, 2024
f02f470
add different python version
CodeFree-xzk Jan 25, 2024
d18c334
add different python version
CodeFree-xzk Jan 25, 2024
d9fa27e
add different python version
CodeFree-xzk Jan 25, 2024
551fe69
add different python version
CodeFree-xzk Jan 25, 2024
ec437d5
Merge branch 'dev' into dev
CodeFree-xzk Jan 25, 2024
993c5de
add caching packages dependencies
CodeFree-xzk Jan 25, 2024
48f8756
add cache dependencies to boost test
CodeFree-xzk Jan 25, 2024
7cf8a0c
add cache dependencies to boost test
CodeFree-xzk Jan 25, 2024
37a10d5
Merge branch 'dev' of https://github.com/CodeFree-xzk/anomaly-detecto…
CodeFree-xzk Jan 25, 2024
d103143
Update ci.yml
CodeFree-xzk Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10.8', '3.11', '3.12' ]
python-version: [ '3.9', '3.10.8', '3.11']


# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -31,11 +32,19 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: setup python ${{matrix.python-version}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
cache: 'poetry'

- name: install dependence
working-directory: anomaly-detector
run: poetry install
run: |
poetry env use ${{matrix.python-version}}
poetry install

- name: gen .pyd file
- name: compile .pyx file
run: |
pip install Cython
pip install numpy
Expand All @@ -46,7 +55,7 @@ jobs:
run: |
pip install pytest
poetry run pytest test_demo.py

poetry run python uvad_test.py

- name: Analyze code with pylint
run: |
Expand All @@ -57,14 +66,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10.8', '3.11', '3.12' ]
python-version: [ '3.9', '3.10.8', '3.11']
steps:
- uses: actions/checkout@v4

- name: setup python ${{matrix.python-version}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
cache: 'pip'

- name: gen .whl file by setup
run: |
pip install Cython
pip install numpy
pip install Cython numpy setuptools wheel
python setup.py sdist bdist_wheel

- name: install .whl file
Expand All @@ -75,7 +89,7 @@ jobs:
run: |
pip install pytest
python test_demo.py
# python uvad_test.py
python uvad_test.py

test_on_setup:
runs-on: ubuntu-latest
Expand All @@ -93,4 +107,4 @@ jobs:
run: |
pip install pytest
python test_demo.py
# python uvad_test.py
python uvad_test.py
135 changes: 95 additions & 40 deletions anomaly-detector/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion anomaly-detector/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build = "build.py"

[tool.poetry.dependencies]
python = "^3.9"
numpy = "^1.25.2"
numpy = "1.23.5"
pandas = "^1.3.5"
seasonal = "^0.3.1"
scipy = "^1.9.3"
Expand Down
Loading