Skip to content

Commit

Permalink
Merge pull request #180 from awtkns/fix-deployment-pipeline
Browse files Browse the repository at this point in the history
Fix deployment pipeline
  • Loading branch information
awtkns authored Dec 16, 2022
2 parents bf9ce0a + 62c2de6 commit 3ad2907
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 1,934 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
services:
postgres:
image: postgres
Expand All @@ -33,13 +33,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install --no-interaction --no-root
run: |
python -m pip install --upgrade pip
pip install -r tests/dev.requirements.txt
- name: Test with pytest
env:
POSTGRES_DB: test
Expand All @@ -48,5 +45,4 @@ jobs:
POSTGRES_HOST: localhost
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
run: |
source .venv/bin/activate
pytest
14 changes: 0 additions & 14 deletions docs/en/docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ on the feature and potential help on where to start implementation wise.

## Development

### Using [poetry](https://python-poetry.org/)

FastAPI-Crudrouter uses [poetry](https://python-poetry.org/) as depenency management system. To install all of the required dependecies simply run:

poetry install

Both dev-requirements and project-requirements will be installed with this command.

To enter the virtual-environment created with poetry use:

poetry shell

If you are not familiar with poetry, please read their [usage guide](https://python-poetry.org/docs/basic-usage/).

### Installing the Dev Requirements
FastAPI-Crudrouter requires as set of development requirements that can installed with `pip` be found in `tests/dev.requirements.txt`

Expand Down
Loading

1 comment on commit 3ad2907

@vercel
Copy link

@vercel vercel bot commented on 3ad2907 Dec 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fastapi-crudrouter – ./

fastapi-crudrouter-git-master-awtkns.vercel.app
fastapi-crudrouter-awtkns.vercel.app
fastapi-crudrouter.awtkns.com

Please sign in to comment.