diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8885f76..92128df 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,6 +25,11 @@ jobs: with: python-version: "3.12" + - name: Check if the release tag matches the version + uses: samuelcolvin/check-python-version@v4.1 + with: + version_file_path: rendercv/__init__.py + - name: Build run: | pip install -U build diff --git a/.github/workflows/ci.yaml b/.github/workflows/test.yaml similarity index 96% rename from .github/workflows/ci.yaml rename to .github/workflows/test.yaml index fd9196d..e47a376 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/test.yaml @@ -1,11 +1,11 @@ -name: Continuous integration +name: Test and report coverage # GitHub events that triggers the workflow: on: push: - branches: ["main", "dev", "v1"] + branches: ["main", "dev"] pull_request: - branches: ["main", "dev", "v1"] + branches: ["main", "dev"] workflow_call: # The workflow: