Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
tests only on pull requests on master, changed to 2.0.1, removed dupl…
Browse files Browse the repository at this point in the history
…icated versions
  • Loading branch information
rafsaf committed May 6, 2021
1 parent d2edd5b commit e25a4cd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ name: Python package
on:
pull_request:
branches: [master]
push:
branches: [master]

jobs:
build:
Expand Down
1 change: 0 additions & 1 deletion fastapi_plan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from cookiecutter.exceptions import OutputDirExistsException
from cookiecutter.main import cookiecutter

__version__ = "0.2.0"
TEMPLATE_DIR = Path(__file__).parent

logging.basicConfig(level=logging.INFO, format="%(levelname)s:%(name)s - %(message)s")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fastapi-plan"
version = "0.2.0"
version = "0.2.1"
description = "Dead simple template manager for FastAPI applications"
license = "MIT"
readme = "README.md"
Expand Down
5 changes: 0 additions & 5 deletions tests/test_fastapi_plan.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import random
import string
from fastapi_plan import __version__
from pathlib import Path

r"""
Expand All @@ -26,10 +25,6 @@ def random_lower_string(length=20) -> str:
return "".join(random.choices(string.ascii_lowercase, k=length))


def test_version():
assert __version__ == "0.2.0"


def test_bake_project_poetry(cookies):
project_name = random_lower_string()
result = cookies.bake(
Expand Down

0 comments on commit e25a4cd

Please sign in to comment.