Skip to content

Commit 04b2fa7

Browse files
committed
Install local package from TOML in CI
1 parent f7395a4 commit 04b2fa7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci-dev.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
- name: Install dependencies
4949
run: |
5050
python -m pip install --upgrade pip wheel
51-
pip install -r dev_requirements.txt
51+
Copy-Item dev.toml pyproject.toml -Force
52+
pip install -e .
5253
pip install pytest pytest-cov
5354
- name: Run pytest with coverage
5455
run: python -m pytest tests/ -v --tb=short --cov=automation_file --cov-report=term-missing --cov-report=xml

.github/workflows/ci-stable.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
- name: Install dependencies
4949
run: |
5050
python -m pip install --upgrade pip wheel
51-
pip install -r requirements.txt
51+
Copy-Item stable.toml pyproject.toml -Force
52+
pip install -e .
5253
pip install pytest pytest-cov
5354
- name: Run pytest with coverage
5455
run: python -m pytest tests/ -v --tb=short --cov=automation_file --cov-report=term-missing --cov-report=xml

0 commit comments

Comments
 (0)