Skip to content

Commit 48de283

Browse files
committed
updating coverage-badge.yaml
1 parent 57ae72e commit 48de283

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/coverage-badge.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
23-
pip install pytest==6.2.4
24-
pip install pytest-mock==3.6.1
25-
pip install coverage
26-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
23+
pip install poetry
24+
poetry install --with test
2725
- name: Generate coverage report
2826
run: |
2927
coverage run -m --source=src pytest -v tests/unit_test.py

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This will install standard requirements as specified in the poetry.lock file. Te
2626

2727
To include test dependencies run: `poetry install --with test`
2828

29-
To include docs dependencies run: `poetry instal --with docs`
29+
To include docs dependencies run: `poetry install --with docs`
3030

3131
To include test and docs dependencies run: `poetry install --with test,docs`
3232

@@ -38,6 +38,8 @@ If you require a requirements.txt file you can run:
3838

3939
We use pre-commit to make sure the code is consistently formatted. To make sure that pre-commit is run every time you commit changes, simply run `pre-commit install`
4040

41+
To build the codeflare-sdk pre-commit image run `podman build -f .github/build/Containerfile .` from the root directory.
42+
4143
### Testing
4244

4345
- To install codeflare-sdk in editable mode, run `pip install -e .` from the repo root.

0 commit comments

Comments
 (0)