FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
HyperTS/.github/workflows/python-pytest.yml at main · DataCanvasIO/HyperTS · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DataCanvasIO
/
HyperTS
Public
Notifications
You must be signed in to change notification settings
Fork
35
Star
289
Code
Issues
20
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
HyperTS
/
.github
/
workflows
/
python-pytest.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
60 lines (49 loc) · 1.7 KB
Breadcrumbs
HyperTS
/
.github
/
workflows
/
python-pytest.yml
Copy path
File metadata and controls
60 lines (49 loc) · 1.7 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
This workflow will install Python dependencies, run tests and lint with a variety of Python versions
#
For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name
:
Python pytest
on
:
push
:
branches
:
[ main ]
pull_request
:
branches
:
[ main ]
schedule
:
#
since * is a special character in YAML you have to quote this string
-
cron
:
'
0 22 1/7 * *
'
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[ubuntu-latest, windows-latest]
python-version
:
["3.8", "3.9", "3.10"]
#
feature-tools only update to 0.23.3 on python3.6 and the latest is 1.2.0(2021/11)
tf-version
:
["\">=2.0.0,<=2.10\"", "disable"]
#
empty string indicates the latest version
#
exclude:
#
- os: windows-latest
#
python-version: "==2.10"
#
- os: windows-latest
#
tf-version: ""
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
#
pip install "sktime<=0.17.2"
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install git+https://github.com/DataCanvasIO/Hypernets
pip install -r requirements.txt
pip install pytest-cov python-coveralls codacy-coverage
-
name
:
Install tensorflow dependencies
if
:
${{ matrix.tf-version != 'disable' }}
run
:
|
pip install tensorflow${{ matrix.tf-version }}
-
name
:
pip list
run
:
|
pip list
pip check
-
name
:
Test with pytest
run
:
|
pytest --cov=hyperts --durations=30
Back
|
FazBrowse Home
|
New Git URL