Skip to content

Commit

Permalink
chore: Update dependencies and do other maintainance
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay-Lysenko committed Aug 27, 2023
1 parent 6d51f09 commit 37d2d3a
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 40 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build

on:
push:
branches:
- master
- develop

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.6]

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.txt
- name: Test with Pytest
run: pytest --cov=servifier --cov-config .coveragerc --cov-report=xml
- name: Create and upload Codecov report
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ The list of the features is as follows:
* concise error messages for end user,
* authentication.

As of 2023-08-27, [FastAPI](https://github.com/tiangolo/fastapi) is a way more advanced alternative to this package.

## Minimal Example

Suppose that you have a file named `simple_service.py` that looks like this:
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-c constraints.txt
Flask==1.0.2
Flask==2.3.3
12 changes: 6 additions & 6 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Click==7.0
Flask==1.0.2
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
Werkzeug==0.15.3
Click==8.1.7
Flask==2.3.3
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.3
Werkzeug==2.3.7
8 changes: 4 additions & 4 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r base.txt
codecov==2.0.15
coverage==4.5.3
pytest==4.4.1
pytest-cov==2.6.1
codecov==2.1.13
coverage==7.3.0
pytest==7.4.0
pytest-cov==4.1.0

0 comments on commit 37d2d3a

Please sign in to comment.