Skip to content

Commit

Permalink
Update requirements.txt after adding tox
Browse files Browse the repository at this point in the history
  • Loading branch information
ebram96 committed Jan 14, 2024
1 parent 4837f55 commit b352645
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ jobs:
setup:
runs-on: ubuntu-latest
outputs:
main-python-version: "3.12"
main-python-version: ${{ steps.setup-python.outputs.python-version }}
steps:
- uses: actions/checkout@v4

- name: Setup Python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ outputs.main-python-version }}
python-version: "3.12"

- name: Install Dependencies
run: |
pip install -e .
pip install -r requirements.txt
- name: Cache dependencies
uses: actions/cache@v3
Expand All @@ -30,11 +36,6 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: |
pip install -e .
pip install -r requirements.txt
test-main-python:
needs: setup
runs-on: ubuntu-latest
Expand All @@ -55,4 +56,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run Test Matrix
run: tox run --skip-env ${{ outputs.main-python-version }}
run: tox run --skip-env ${{ needs.setup.steps.setup-python.outputs.python-version }}
8 changes: 7 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
cachetools==5.3.2
certifi==2023.11.17
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.3.2
colorama==0.4.6
coverage==7.4.0
distlib==0.3.8
exceptiongroup==1.2.0
filelock==3.13.1
identify==2.5.33
idna==3.6
Expand All @@ -12,12 +16,14 @@ packaging==23.2
platformdirs==4.1.0
pluggy==1.3.0
pre-commit==3.6.0
pyproject-api==1.6.1
pytest==7.4.4
pytest-mock==3.12.0
PyYAML==6.0.1
requests==2.31.0
requests-mock==1.11.0
setuptools==69.0.3
six==1.16.0
tomli==2.0.1
tox==4.12.0
urllib3==2.1.0
virtualenv==20.25.0

0 comments on commit b352645

Please sign in to comment.