Skip to content

Commit a0ea23c

Browse files
committed
updating coverage-badge.yaml
1 parent e69bcfc commit a0ea23c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/coverage-badge.yaml

Lines changed: 2 additions & 4 deletions
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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This will install standard requirements as specified in the poetry.lock file. Te
2727

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

30-
To include docs dependencies run: `poetry instal --with docs`
30+
To include docs dependencies run: `poetry install --with docs`
3131

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

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

4040
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`
4141

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

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

0 commit comments

Comments
 (0)