This commit is contained in:
@@ -23,31 +23,9 @@ jobs:
|
||||
python -m pip install -e .
|
||||
python -m pip install pytest
|
||||
|
||||
- name: List test files
|
||||
run: |
|
||||
find tests -name "*.py" -type f | head -20
|
||||
|
||||
- name: Run tests
|
||||
run: python -m pytest tests/unit/ tests/integration/ -v
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install build
|
||||
|
||||
- name: Build package
|
||||
run: |
|
||||
python -m build
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
run: python -m pytest tests/ -v --ignore=tests_testdatagen
|
||||
Reference in New Issue
Block a user