Skip to content

Commit

Permalink
GH-1: Make dev dependencies optional
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed Sep 14, 2023
1 parent c5c2a13 commit 0105b87
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-python@v3

- name: Install dependencies
run: pip install .
run: pip install .[dev]

- name: Install browsers
run: playwright install --with-deps chromium
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@

## Running tests

1. Install the dev dependencies:

```bash
pip install -e .[dev]
```

1. Install the browsers:

```bash
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
name = "schemes"
version = "1.0.0"
dependencies = [
"flask",
"flask"
]

[project.optional-dependencies]
dev = [
"playwright",
"pytest",
"pytest-flask",
Expand Down

0 comments on commit 0105b87

Please sign in to comment.