-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5106c5
commit 06d0fa5
Showing
21 changed files
with
2,337 additions
and
215 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[Makefile] | ||
indent_style = tab | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{*.json,Makefile,*.sh,*.tf,*.yml}] | ||
indent_size = 2 |
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,2 @@ | ||
* text=auto eol=lf whitespace=tab-in-indent,blank-at-eol,tabwidth=4 | ||
Makefile text whitespace=-tab-in-indent,blank-at-eol,tabwidth=2 |
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,44 @@ | ||
--- | ||
name: Build Pipeline | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
build: | ||
name: Build Pipeline | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup binaries. Poetry, Twine. | ||
run: make setup-binaries | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
cache: poetry | ||
|
||
- name: Install dependencies | ||
run: make install | ||
|
||
- name: Lint code | ||
run: make lint | ||
|
||
- name: Run tests | ||
run: make test | ||
|
||
- name: Build package | ||
run: make build | ||
|
||
- name: Publish package to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
run: | | ||
poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}" | ||
make publish |
Oops, something went wrong.