Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Neoxelox committed Jan 4, 2024
1 parent 3f555b2 commit 379c575
Show file tree
Hide file tree
Showing 16 changed files with 1,159 additions and 9 deletions.
Empty file added .github/.gitkeep
Empty file.
36 changes: 36 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Integration

on:
pull_request:
branches: [main]

jobs:
integration:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Setup Go 🐻
uses: actions/setup-go@v3
with:
go-version: "1.21"
cache: true

- name: Setup Python 🐍
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"

- name: Setup Scripts 🧩
run: |
pip install -r scripts/requirements.txt
inv env.switch ci
inv tool.install ci-int --yes
- name: Lint 🪶
run: inv lint

- name: Test 🧪
run: inv test
34 changes: 34 additions & 0 deletions .github/workflows/publication.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publication

on:
push:
branches: [main]

jobs:
publication:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Git ✨
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Setup Python 🐍
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"

- name: Setup Scripts 🧩
run: |
pip install -r scripts/requirements.txt
inv env.switch ci
inv tool.install ci-pub --yes
- name: Publish 🚀
run: inv publish
149 changes: 142 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Custom
.vscode/
.superinvoke_cache/
.idea/
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
.DS_Store

# Binaries for programs and plugins
*.exe
*.exe~
Expand All @@ -10,12 +17,140 @@

# Test binary, built with `go test -c`
*.test
tmp/

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
# Dependency directories
vendor/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Go workspace file
go.work
# Pyre type checker
.pyre/
Loading

0 comments on commit 379c575

Please sign in to comment.