File tree Expand file tree Collapse file tree 9 files changed +2160
-52
lines changed Expand file tree Collapse file tree 9 files changed +2160
-52
lines changed Original file line number Diff line number Diff line change
1
+ name : YAPF Formatting Check
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ formatting-check :
11
+
12
+ name : Formatting Check
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : run YAPF to test if python code is correctly formatted
18
+ uses : AlexanderMelde/yapf-action@master
19
+ with :
20
+ args : --verbose --style=yapf.ini
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ push :
5
+ tags : ' *'
6
+
7
+ jobs :
8
+ deploy :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up Python
15
+ uses : actions/setup-python@v2
16
+ with :
17
+ python-version : ' 3.x'
18
+ - name : Install dependencies and build
19
+ run : |
20
+ python -m pip install --upgrade pip
21
+ pip install poetry poetry-dynamic-versioning twine
22
+ - name : Build and publish
23
+ env :
24
+ TWINE_USERNAME : __token__
25
+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
26
+ run : |
27
+ poetry publish --build --username $TWINE_USERNAME --password $TWINE_PASSWORD
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ${{ matrix.platform }}
13
+ strategy :
14
+ matrix :
15
+ platform : [ubuntu-latest]
16
+ python-version : [3.7]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ - name : Install dependencies
25
+ run : |
26
+ python -m pip install --upgrade pip
27
+ python -m pip install tox tox-gh-actions poetry
28
+ - name : Test with tox
29
+ run : tox
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# redshells
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/m3dev/redshells.svg )] ( https://travis-ci.org/m3dev/redshells )
3
+ [ ![ Test] ( https://github.com/m3dev/redshells/actions/workflows/test.yml/badge.svg )] ( https://github.com/m3dev/redshells/actions/workflows/test.yml )
4
+ [ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/redshells.svg )] ( https://pypi.org/project/redshells/ )
5
+ [ ![ ] ( https://img.shields.io/pypi/v/redshells )] ( https://pypi.org/project/redshells/ )
6
+ ![ ] ( https://img.shields.io/pypi/l/redshells )
4
7
5
8
Machine learning tasks which are used with data pipeline library "luigi" and its wrapper "gokart".
You can’t perform that action at this time.
0 commit comments