-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ff1cd0
commit 8a0a933
Showing
19 changed files
with
1,572 additions
and
977 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,13 @@ jobs: | |
|
||
# Run directly on runner VM | ||
runs-on: ubuntu-latest | ||
container: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.8, 3.9] | ||
python-version: [3.11] | ||
services: | ||
postgres: | ||
image: postgres:12 | ||
image: postgres:15 | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
|
@@ -46,17 +45,8 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install flake8 pytest | ||
python -m pip install black, pylint, pyright | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
- name: python-isort | ||
# https://github.com/marketplace/actions/python-isort | ||
uses: isort/[email protected] | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# The GitHub editor is 127 chars wide | ||
flake8 . --count --max-complexity=13 --max-line-length=127 --statistics | ||
- name: Test with pytest | ||
run: | | ||
pip install pytest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
# pypgtable | ||
|
||
A simple interface to Posgres database tables. | ||
|
||
[![Python package](https://github.com/Shapedsundew9/pypgtable/actions/workflows/python-package.yml/badge.svg?branch=main)](https://github.com/Shapedsundew9/pypgtable/actions/workflows/python-package.yml) | ||
[![codecov](https://codecov.io/gh/Shapedsundew9/pypgtable/branch/main/graph/badge.svg?token=Z9C9Z9B3T1)](https://codecov.io/gh/Shapedsundew9/pypgtable) | ||
|
||
## Sunburst Code Coverage Chart | ||
|
||
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively. | ||
![Sunburst](https://codecov.io/gh/Shapedsundew9/pypgtable/branch/main/graphs/sunburst.svg) | ||
|
||
## Usage Examples | ||
|
||
TBD | ||
|
||
For more details see [design documentation](docs/pypgtable.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.