Skip to content

Commit

Permalink
ci-cd automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorgedavyd committed May 29, 2024
1 parent 6acb6db commit 07fa4c6
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 110 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pypi.yml → .github/workflows/CD.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: To PyPI
name: Delivery automation

on:
push:
Expand Down Expand Up @@ -30,7 +30,6 @@ jobs:

- name: Update version in setup.py and lightorch/_version.py
run: |
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ env.TAG_NAME }}/g" setup.py
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ env.TAG_NAME }}/g" lightorch/_version.py
- name: Build the package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/default.yml → .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Default
name: Integration automation

on:
push:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[![license](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![code-style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![pypi](https://img.shields.io/pypi/v/lightorch)](https://pypi.org/project/lightorch)
![CI-CD](https://github.com/Jorgedavyd/LighTorch/actions/workflows/default.yml/badge.svg)
![CI](https://github.com/Jorgedavyd/LighTorch/actions/workflows/CI.yml/badge.svg)
![CD](https://github.com/Jorgedavyd/LighTorch/actions/workflows/CD.yml/badge.svg)

# LighTorch

Expand Down
3 changes: 0 additions & 3 deletions lightorch/default/__init__.py

This file was deleted.

Empty file removed lightorch/default/diffusion.py
Empty file.
Empty file removed lightorch/default/transformer.py
Empty file.
101 changes: 0 additions & 101 deletions lightorch/default/vae.py

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup, find_packages
from lightorch import __author__, __email__
from lightorch import __author__, __email__, __version__
from pathlib import Path

this_directory = Path(__file__).parent
Expand All @@ -8,7 +8,7 @@
if __name__ == "__main__":
setup(
name="lightorch",
version='{{VERSION_PLACEHOLDER}}',
version=__version__,
packages=find_packages(),
author=__author__,
long_description=long_description,
Expand Down
Empty file removed tests/test_models.py
Empty file.

0 comments on commit 07fa4c6

Please sign in to comment.