mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-20 09:01:32 -08:00
release integration tests on a distinct job
This commit is contained in:
2 files changed
+36
-7
No files matched your search
@@ -166,12 +166,6 @@ jobs:
|
||||
name: helm-package
|
||||
path: ./
|
||||
|
||||
- name: Grab packaged test-suite
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: test-suite-package
|
||||
path: ./
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
||||
with:
|
||||
@@ -222,5 +216,38 @@ jobs:
|
||||
|
||||
The target branch may be wrong. In which case this PR should be taken over and manually adjusted.
|
||||
|
||||
release-integration-tests:
|
||||
if: ${{ !failure() && !cancelled() && startsWith(github.ref, 'refs/tags/') }}
|
||||
permissions:
|
||||
packages: read
|
||||
id-token: write
|
||||
environment: pypi
|
||||
needs:
|
||||
- release
|
||||
- test-suite-package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
# We are creating a commit changing the chart version for the next version PR
|
||||
persist-credentials: true
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
||||
with:
|
||||
enable-cache: true
|
||||
activate-environment: true
|
||||
|
||||
- name: Set up UV environment
|
||||
run: uv sync
|
||||
|
||||
- name: Grab packaged test-suite
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: test-suite-package
|
||||
path: ./
|
||||
|
||||
- name: Publish ESS test suite to Pypi
|
||||
run: uv publish dist/*
|
||||
+3
-1
@@ -14,7 +14,9 @@ rules:
|
||||
# This job do not release any artifact, we do not care about cache poisoning
|
||||
- releasing.yml:79
|
||||
# This job do not release any artifact, we do not care about cache poisoning
|
||||
- releasing.yml:176
|
||||
- releasing.yml:170
|
||||
# This job do not release any artifact, we do not care about cache poisoning
|
||||
- releasing.yml:238
|
||||
# We disable cache on releases
|
||||
- releasing.yml:33
|
||||
# This job do not release any artifact, we do not care about cache poisoning
|
||||
|
||||
Reference in new issue
Block a user