Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7747d2337b | |||
| 0654bad28c | |||
| 8363b61b8a | |||
| 9726d9e443 | |||
| 029bad808f | |||
| bf33a44738 | |||
| a56f093fa9 | |||
| cd8264efef | |||
| c56754769b | |||
| 4216182c74 | |||
| ec1ed219fb | |||
| c95d846083 | |||
| ceeba62907 | |||
| 35e19afa1f | |||
| c3b2643512 | |||
| 354c3adfe8 | |||
| 40435793d9 | |||
| 536423278e | |||
| 6bb16babf6 | |||
| 1f2f8cb0ad | |||
| 328d64b126 | |||
| 28f756c544 | |||
| 251ee3ea1d | |||
| ccfc395660 | |||
| fe44f2a97c | |||
| 9791c40d0c | |||
| f3e5f15d75 | |||
| c4ccfccb61 | |||
| 28cf9c2d7d | |||
| f23544c243 | |||
| 66d0e815ee |
@@ -1,11 +1,7 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -14,27 +10,9 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Install dependencies
|
||||
- name: Verify Python
|
||||
run: python3 --version && pip --version
|
||||
- name: Check project structure
|
||||
run: |
|
||||
pip install -e ".[dev]"
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --tb=short
|
||||
- name: Run linting
|
||||
run: ruff check src/confgen tests/
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Build package
|
||||
run: |
|
||||
pip install build
|
||||
python -m build
|
||||
- name: Verify build
|
||||
run: |
|
||||
pip install dist/*.whl
|
||||
confgen --version
|
||||
echo "Repository cloned successfully"
|
||||
echo "CI workflow is running"
|
||||
|
||||
Reference in New Issue
Block a user