Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Nov 28, 2023
1 parent c7be735 commit e3f5d25
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 17 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [3.8, 3.9]
python-version: [3.9]
include:
- os: ubuntu-latest
path: ~/.cache/pip
Expand Down Expand Up @@ -66,13 +66,13 @@ jobs:
coverage report -m -i
coverage xml -i
- name: Upload Coverage to Codecov
if: runner.os != 'macOS'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
# - name: Upload Coverage to Codecov
# if: runner.os != 'macOS'
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: ./coverage.xml
# flags: unittests
# env_vars: OS,PYTHON
# name: codecov-umbrella
# fail_ci_if_error: false
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ recursive-exclude docs *
exclude docs

# Include the Requirements
include src/requirements.txt
recursive-include src/requirements *.txt
include requirements.txt
recursive-include requirements *.txt

# Exclude Makefile
exclude Makefile
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fastapi[all]
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = template
version = attr: template.__version__
name = fastserve
version = attr: fastserve.__version__
author = Aniket Maurya
author_email = AUTHOR_EMAIL
description = Package description
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

with open("src/requirements.txt") as f:
with open("requirements.txt") as f:
required = f.read().splitlines()

setup(
Expand Down
File renamed without changes.
Empty file removed src/template/requirements.txt
Empty file.
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.template import __version__
from fastserve import __version__


def test_version():
Expand Down

0 comments on commit e3f5d25

Please sign in to comment.