Skip to content

Commit eb7c78e

Browse files
Copilotneilime
andcommitted
fix(test): skip validation for codecov in container mode to avoid GPG issues
Co-authored-by: neilime <[email protected]>
1 parent b6b98c2 commit eb7c78e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

actions/test/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ runs:
143143
if: inputs.coverage == 'codecov' && inputs.container == 'true'
144144
uses: pkgxdev/setup@f211ee4db3110b42e5a156282372527e7c1ed723 # v4.0.0
145145
with:
146-
+: git curl gnupg.org
146+
+: git curl
147147

148148
- name: 📊 Upload coverage to Codecov
149149
if: always() && inputs.coverage == 'codecov'
@@ -155,6 +155,9 @@ runs:
155155
use_oidc: true
156156
disable_telem: true
157157
fail_ci_if_error: false
158+
# Skip validation in container mode because pkgxdev-installed gnupg has issues
159+
# with gpgconf.ctl containing unexpanded environment variables
160+
skip_validation: ${{ inputs.container == 'true' }}
158161

159162
# FIXME: workaround until will be merged: https://github.com/actions/runner/pull/1684
160163
- shell: bash

0 commit comments

Comments
 (0)