diff --git a/.gitea/workflows/python-package.yaml b/.gitea/workflows/python-package.yaml index a226053..d7d227a 100644 --- a/.gitea/workflows/python-package.yaml +++ b/.gitea/workflows/python-package.yaml @@ -10,7 +10,7 @@ on: required: true jobs: - test: + test-and-publish: runs-on: ubuntu-latest container: image: node:21-bookworm @@ -27,20 +27,6 @@ jobs: run: python3 -m pip install . --break-system-packages - name: Test Python Code run: python3 -m pytest test - publish: - runs-on: ubuntu-latest - container: - image: node:21-bookworm - needs: [test] - steps: - - name: Setting up Python ${{ env.PYTHON_VERSION }} for ${{runner.arch}} ${{runner.os}} - run: | - apt-get update - apt-get install -y python3 python3-pip - - name: Installing Python Dependencies - run: python3 -m pip install --upgrade pip setuptools wheel build twine pytest --break-system-packages - - name: Check out repository code - uses: actions/checkout@v3 - name: Build run: python3 -m build - name: Publish