Skip to content

Commit ae412b8

Browse files
authored
Merge pull request #8 from karimzakzouk/Testing
Simplify dependency installation in CI workflow
2 parents 6927a8a + c5a6fe6 commit ae412b8

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ jobs:
3333
uses: actions/setup-python@v5
3434
with:
3535
python-version: ${{ matrix.python-version }}
36-
36+
3737
- name: Install Dependencies
38-
run: |
39-
python -m pip install --upgrade pip
40-
pip install pytest pytest-cov
38+
run: pip install -r requirements.txt
4139

4240
- name: Unit Testing
4341
id: Python-unit-testing-step
@@ -65,11 +63,9 @@ jobs:
6563
uses: actions/setup-python@v5
6664
with:
6765
python-version: "3.12"
68-
66+
6967
- name: Install Dependencies
70-
run: |
71-
python -m pip install --upgrade pip
72-
pip install pytest pytest-cov
68+
run: pip install -r requirements.txt
7369

7470
- name: Run Code Coverage
7571
id: coverage

0 commit comments

Comments
 (0)