Skip to content

Commit 2400ded

Browse files
author
Juntongkuki
committed
add workflows
1 parent 7de8180 commit 2400ded

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/unittest.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: unittest
10+
11+
on: workflow_dispatch
12+
13+
jobs:
14+
15+
unittest:
16+
runs-on: windows-latest
17+
steps:
18+
- name: test_base
19+
run: |
20+
git clone https://github.com/Juntongkuki/tnlearn_actions
21+
cd tnlearn_actions
22+
pip install h5py~=3.10.0
23+
pip install numpy~=1.26.2
24+
pip install torch~=2.1.0
25+
pip install sympy~=1.12
26+
pip install setuptools~=68.0.0
27+
pip install scikit-learn~=1.4.0
28+
pip install scipy~=1.12.0
29+
pip install joblib~=1.3.2
30+
pip install requests~=2.31.0
31+
pip install networkx~=3.2.1
32+
pip install matplotlib~=3.8.3
33+
pip install pandas~=2.2.0
34+
pip install packaging~=23.2
35+
pip install ipython~=8.18.1
36+
pip install tqdm~=4.66.2
37+
python -m unittest
38+
39+
40+

0 commit comments

Comments
 (0)