Skip to content

Commit

Permalink
rename requirements files
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Sep 29, 2024
1 parent bc233ef commit 0c54336
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"features": {
"ghcr.io/devcontainers-contrib/features/ffmpeg-apt-get:1": {}
},
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y libturbojpeg0 libpcap-dev && pip install -r requirements_dev.txt && pre-commit install && pre-commit install-hooks",
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y libturbojpeg0 libpcap-dev && pip install -r dev-requirements.txt && pre-commit install && pre-commit install-hooks",
"containerEnv": {
"DEVCONTAINER": "1"
},
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install pytest
pip install -r requirements_dev.txt
pip install -r requirements_test.txt
pip install -r dev-requirements.txt
pip install -r test-requirements.txt
- name: Test with pytest
run: |
pytest tests/
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Environment setup:
```
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements_dev.txt
$ pip3 install -r requirements_test.txt
$ pip3 install -r dev-requirements.txt
$ pip3 install -r test-requirements.txt
```

Run tests:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion requirements_test.txt → test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-r requirements_dev.txt
-r dev-requirements.txt

pytest==7.4.3
pytest-socket==0.6.0
Expand Down

0 comments on commit 0c54336

Please sign in to comment.