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