Skip to content

Commit

Permalink
use requirements.txt instead of hardcoding the python packages in yaml
Browse files Browse the repository at this point in the history
* use requirements.txt instead of hardcoding the python packages in yaml
* update readme
  • Loading branch information
ildyria authored May 7, 2022
1 parent 1d9e903 commit a2f8dc1
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest gitpython markdown
python3 -m pip install -r requirements.txt
- name: Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

```sh
// Install dependencies
$ pip install -U pytest markdown gitpython
$ pip install -r requirements.txt
```

# Generating
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest
markdown
gitpython

0 comments on commit a2f8dc1

Please sign in to comment.