Skip to content

Commit

Permalink
ci: fix dependencies installation in pipelines (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnemoi authored Aug 30, 2023
1 parent c85c0bd commit 481f300
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/continous_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- '.github/workflows/**'
- 'cmnemoi_learn/**'
- 'tests/**'
- 'pyproject.toml'

permissions:
contents: read
Expand All @@ -27,7 +28,7 @@ jobs:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
run: pip install -r requirements-dev.txt
- name: Run Black
run: python -m black --check .
- name: Run Mypy
Expand All @@ -46,7 +47,7 @@ jobs:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
run: pip install -r requirements-dev.txt
- name: Run unit tests
run: python -m pytest --cov=cmnemoi_learn/
- name: Upload coverage to Coveralls
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cmnemoi-learn - Machine Learning from scratch by Charles-Meldhine Madi Mnemoi

![CI Status](https://github.com/cmnemoi/cmnemoi-learn/actions/workflows/continous_integration.yaml/badge.svg?branch=main)
![CD Status](https://github.com/cmnemoi/cmnemoi-learn/actions/workflows/create_github_release.yaml/badge.svg?branch=main)
[![CI Status](https://github.com/cmnemoi/cmnemoi-learn/actions/workflows/continous_integration.yaml/badge.svg?branch=main)](https://github.com/cmnemoi/cmnemoi-learn/actions/workflows/continous_integration.yaml)
[![CD Status](https://github.com/cmnemoi/cmnemoi-learn/actions/workflows/create_github_release.yaml/badge.svg?branch=main)](https://github.com/cmnemoi/cmnemoi-learn/actions/workflows/create_github_release.yaml)
[![Coverage Status](https://coveralls.io/repos/github/cmnemoi/cmnemoi-learn/badge.svg?branch=main)](https://coveralls.io/github/cmnemoi/cmnemoi-learn?branch=main)
[![PyPI version](https://badge.fury.io/py/cmnemoi-learn.svg)](https://badge.fury.io/py/cmnemoi-learn)

Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ scikit-learn = "^1.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[project.urls]

0 comments on commit 481f300

Please sign in to comment.