-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create CI task and add missing requirements (sklearn, nltk)
- Loading branch information
Showing
9 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
path: | ||
- 'logparser/*' | ||
- 'tests/*' | ||
pull_request: | ||
path: | ||
- 'logparser/*' | ||
- 'tests/*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 180 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.13, 3.11] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup python environment | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{matrix.python-version}} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install -q deap==1.4.1 | ||
pip install -q nltk | ||
pip install -e . | ||
- name: Run test | ||
timeout-minutes: 180 | ||
run: | | ||
cd tests | ||
bash test_all.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pandas | ||
regex==2022.3.2 | ||
numpy | ||
scipy | ||
scipy | ||
scikit-learn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pandas | ||
regex==2022.3.2 | ||
numpy | ||
scipy | ||
scipy | ||
nltk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,7 @@ regex==2022.3.2 | |
numpy | ||
pandas | ||
scipy | ||
scikit-learn | ||
tqdm | ||
nltk | ||
deap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
version="1.0.0", | ||
author="logpai", | ||
author_email="[email protected]", | ||
description="A machine learning toolkit for log parsing", | ||
description="A machine learning toolkit for log parsing from LOGPAI", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/logpai/logparser", | ||
|
@@ -17,7 +17,7 @@ | |
exclude=["tests", "data", "docs", "example"]), | ||
include_package_data=True, | ||
python_requires=">=3.6", | ||
install_requires=["regex==2022.3.2", "numpy", "pandas", "scipy", "tqdm"], | ||
install_requires=["regex==2022.3.2", "numpy", "pandas", "scipy", "tqdm", "scikit-learn"], | ||
classifiers=( | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters