diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index bae04148b3..98145cc42b 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -6,6 +6,9 @@ on: - cron: "0 5 * * 1" workflow_dispatch: +env: + SKIP: no-commit-to-branch + jobs: make-check: @@ -50,6 +53,7 @@ jobs: - name: Install avocado run: | pip install -r requirements-dev.txt + python3 -m pip install --user --upgrade "setuptools<80" python3 setup.py develop --user - name: Avocado pre-release job run: python3 setup.py test --select=pre-release @@ -108,6 +112,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 + - name: Set weekly TestPyPI version + run: | + version="$(cat VERSION).dev${{ github.run_number }}" + make -f Makefile.gh propagate-version VERSION="$version" - name: Build tarballs and wheels run: make -f Makefile.gh build-wheel check-wheel - name: Save tarballs and wheels as artifacts diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index 2dec689cb3..e0a274b9cc 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -8,6 +8,9 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +env: + SKIP: no-commit-to-branch + jobs: user-installation: diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index e01fbe3c8c..b065576589 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -8,6 +8,9 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +env: + SKIP: no-commit-to-branch + jobs: latest-python: @@ -89,7 +92,9 @@ jobs: - name: Install static check dependencies run: make requirements-static-checks - name: Installing Avocado in develop mode - run: python3 setup.py develop --user --skip-optional-plugins --skip-examples-plugins-tests + run: | + python3 -m pip install --user --upgrade "setuptools<80" + python3 setup.py develop --user --skip-optional-plugins --skip-examples-plugins-tests - name: Avocado version run: avocado --version - name: Tree static check, unittests and fast functional tests without plugins