Fix CI workflow: remove incorrect cd commands
This commit is contained in:
@@ -19,18 +19,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
cd local_commit_message_generator
|
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cd local_commit_message_generator
|
|
||||||
pytest tests/ -v --cov=src --cov-report=term-missing
|
pytest tests/ -v --cov=src --cov-report=term-missing
|
||||||
|
|
||||||
- name: Check linting
|
- name: Check linting
|
||||||
run: |
|
run: |
|
||||||
cd local_commit_message_generator
|
|
||||||
pip install ruff
|
pip install ruff
|
||||||
ruff check .
|
ruff check .
|
||||||
|
|
||||||
@@ -47,16 +44,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
cd local_commit_message_generator
|
|
||||||
pip install build
|
pip install build
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: |
|
run: |
|
||||||
cd local_commit_message_generator
|
|
||||||
python -m build
|
python -m build
|
||||||
|
|
||||||
- name: Verify build
|
- name: Verify build
|
||||||
run: |
|
run: |
|
||||||
cd local_commit_message_generator
|
|
||||||
pip install dist/*.whl
|
pip install dist/*.whl
|
||||||
commit-gen --help
|
commit-gen --help
|
||||||
|
|||||||
Reference in New Issue
Block a user