update workflows

This commit is contained in:
Sina Atalay 2024-02-19 18:54:40 +01:00
parent f17e6fc628
commit 065af5a680
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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: