diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c156bba..e0a0d3a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -23,9 +23,30 @@ 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/ -v --ignore=tests_testdatagen \ No newline at end of file + run: python -m pytest tests/ -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/ \ No newline at end of file