Skip to content

Commit 3d150f7

Browse files
Merge pull request #152 from pepkit/dev
v0.8.1 release
2 parents 6510c35 + 6c4797c commit 3d150f7

39 files changed

+151
-4515
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ jobs:
1212
name: upload release to PyPI
1313
runs-on: ubuntu-latest
1414
permissions:
15-
# IMPORTANT: this permission is mandatory for trusted publishing
16-
id-token: write
15+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1716
steps:
18-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1918
- name: Set up Python
20-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2120
with:
2221
python-version: '3.x'
2322
- name: Install dependencies

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ repos:
99
- id: trailing-whitespace
1010
- id: check-ast
1111

12-
- repo: https://github.com/PyCQA/isort
13-
rev: 5.9.1
14-
hooks:
15-
- id: isort
16-
args: ["--profile", "black"]
12+
# - repo: https://github.com/PyCQA/isort
13+
# rev: 5.9.1
14+
# hooks:
15+
# - id: isort
16+
# args: ["--profile", "black"]
1717

1818
- repo: https://github.com/psf/black
1919
rev: 21.6b0
2020
hooks:
2121
- id: black
22+
args : ["--line-length", "99"]

.readthedocs.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,33 @@
99

1010
Pipestat standardizes reporting of pipeline results. It provides 1) a standard specification for how pipeline outputs should be stored; and 2) an implementation to easily write results to that format from within Python or from the command line. A pipeline author defines all the outputs produced by a pipeline by writing a JSON-schema. The pipeline then uses pipestat to report pipeline outputs as the pipeline runs, either via the Python API or command line interface. The user configures results to be stored either in a [YAML-formatted file](https://yaml.org/spec/1.2/spec.html) or a [PostgreSQL database](https://www.postgresql.org/).
1111

12-
See [Pipestat documentation](https://pipestat.databio.org) for complete details.
12+
See [Pipestat documentation](https://pep.databio.org/pipestat/) for complete details.
1313

1414

1515
## Developer tests
1616

17-
First you need a local demo instance of posgres running to test the database back-end. you can get one using docker matching the included config file like this:
17+
### Optional Dependencies
1818

19-
```
20-
docker run --rm -it -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=pipestat-password -e POSTGRES_DB=pipestat-test -p 5432:5432 postgres
21-
```
19+
Note: to run the pytest suite locally, you will need to install the related requirements:
20+
21+
```bash
22+
cd pipestat
2223

23-
Then, run tests:
24+
pip install -r requirements/requirements-test.txt
2425

2526
```
26-
pytest
27+
28+
### Database Backend Configuration for Tests
29+
30+
Many of the tests require a postgres database to be set up otherwise many of the tests will skip.
31+
32+
We recommend using docker:
33+
```bash
34+
docker run --rm -it --name pipestat_test_db \
35+
-e POSTGRES_USER=postgres \
36+
-e POSTGRES_PASSWORD=pipestat-password \
37+
-e POSTGRES_DB=pipestat-test \
38+
-p 5432:5432 \
39+
postgres
2740
```
2841

0 commit comments

Comments
 (0)