Skip to content

Commit

Permalink
Metrics (#179)
Browse files Browse the repository at this point in the history
Signed-off-by: Kushal Batra <[email protected]>
  • Loading branch information
s0nicboOm authored Jun 17, 2024
1 parent 485d59a commit a778dd2
Show file tree
Hide file tree
Showing 149 changed files with 471 additions and 29,910 deletions.
10 changes: 0 additions & 10 deletions .codecov.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .coveragerc

This file was deleted.

16 changes: 0 additions & 16 deletions .dockerignore

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence
* @ab93 @nkoppisetty @vigith @s0nicboOm
* @ab93 @vigith @s0nicboOm
48 changes: 0 additions & 48 deletions .github/workflows/build-go.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Generate changelog
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
Expand Down
59 changes: 0 additions & 59 deletions .github/workflows/ci.yml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.4.2
run: pipx install poetry==1.8.3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -31,15 +31,19 @@ jobs:
run: |
poetry env use ${{ matrix.python-version }}
poetry install --all-extras --with dev
poetry run pip install --no-cache -r requirements/requirements-torch.txt
- name: Run Coverage
run: |
poetry run pytest --cov-report=xml --cov=numaprom --cov-config .coveragerc tests/ -sq
- name: Run Coverage
run: |
poetry run pytest --cov-report=xml --cov=numalogic --cov-config .coveragerc tests/ -sq
- name: Upload Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true
verbose: true
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Black format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.10" ]
python-version: [ "3.11" ]

name: Publish to PyPi
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.4.2
run: pipx install poetry==1.8.3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
59 changes: 0 additions & 59 deletions .github/workflows/release-go.yaml

This file was deleted.

50 changes: 42 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
prometheus-serde/vendor
prometheus-serde/dist
prometheus-serde/coverage.out

# PyInstaller
# Usually these files are written by a python script from a template
Expand All @@ -53,6 +49,7 @@ coverage.xml
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
Expand All @@ -75,8 +72,13 @@ instance/
docs/_build/

# PyBuilder
.pybuilder/
target/

#mlflow
/.mlruns
*.db

# Jupyter Notebook
.ipynb_checkpoints

Expand All @@ -85,7 +87,9 @@ profile_default/
ipython_config.py

# pyenv
.python-version
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
Expand All @@ -94,7 +98,22 @@ ipython_config.py
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

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

# Celery stuff
Expand Down Expand Up @@ -131,8 +150,23 @@ dmypy.json
# Pyre type checker
.pyre/

# Jetbrains project
# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

#script output
.btoutput/

# Mac related
.DS_Store
*.DS_Store

.python-version
Loading

0 comments on commit a778dd2

Please sign in to comment.