diff --git a/.github/workflows/build_test_wheel.yml b/.github/workflows/build_test_wheel.yml index c639b41..fd2b739 100644 --- a/.github/workflows/build_test_wheel.yml +++ b/.github/workflows/build_test_wheel.yml @@ -8,7 +8,7 @@ permissions: jobs: build_wheels: - name: Build wheels on self-hosted manylinux_2_28 + name: Build wheels on self-hosted manylinux_2_28 for TestPyPi runs-on: linux_x64 steps: @@ -49,6 +49,7 @@ jobs: source test_env/bin/activate pip install --upgrade pip # Install from TestPyPI (must allow pre-releases if version has dev/alpha) + pip install numpy pip install --index-url https://test.pypi.org/simple/ zvec # Run a simple smoke test python -c "import zvec; print('Import OK:', zvec.__version__)" diff --git a/.github/workflows/linux_x64_docker_ci.yml b/.github/workflows/linux_x64_docker_ci.yml index 273c127..325e219 100644 --- a/.github/workflows/linux_x64_docker_ci.yml +++ b/.github/workflows/linux_x64_docker_ci.yml @@ -7,11 +7,16 @@ on: branches: [ "main" ] workflow_dispatch: +concurrency: + group: pr-${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + permissions: contents: read jobs: build: + name: Zvec LinuxX64 CI runs-on: linux_x64 strategy: diff --git a/.github/workflows/mac_arm64_ci.yml b/.github/workflows/mac_arm64_ci.yml index 346b148..b113f62 100644 --- a/.github/workflows/mac_arm64_ci.yml +++ b/.github/workflows/mac_arm64_ci.yml @@ -7,11 +7,16 @@ on: branches: [ "main" ] workflow_dispatch: +concurrency: + group: pr-${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + permissions: contents: read jobs: build: + name: Zvec MacArm64 CI runs-on: mac_m1_arm steps: diff --git a/.github/workflows/nightly_coverage.yml b/.github/workflows/nightly_coverage.yml index 17d8aec..b964271 100644 --- a/.github/workflows/nightly_coverage.yml +++ b/.github/workflows/nightly_coverage.yml @@ -12,6 +12,7 @@ permissions: jobs: coverage: + name: Nightly Coverage Report runs-on: linux_x64 strategy: diff --git a/pyproject.toml b/pyproject.toml index 3e934e4..7bf99fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,6 +117,10 @@ sdist.include = [ BUILD_TOOLS = "OFF" BUILD_PYTHON_BINDINGS = "ON" +# Setuptools config for test pypi +[tool.setuptools_scm] +local_scheme = "no-local-version" +version_scheme = "guess-next-dev" ###################################################################################################### # TESTING & QUALITY ######################################################################################################