summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 19 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e0627af4a6..d6f6e3b17c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -206,7 +206,7 @@ jobs:
- name: Upload debug output
if: failure()
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: awx-operator-debug-output
path: ${{ env.DEBUG_OUTPUT_DIR }}
@@ -328,7 +328,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
# Upload coverage report as artifact
- - uses: actions/upload-artifact@v3
+ - uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-${{ matrix.target-regex.name }}
@@ -359,19 +359,29 @@ jobs:
- name: Upgrade ansible-core
run: python3 -m pip install --upgrade ansible-core
- - name: Download coverage artifacts
- uses: actions/download-artifact@v3
+ - name: Download coverage artifacts A to H
+ uses: actions/download-artifact@v4
with:
+ name: coverage-a-h
+ path: coverage
+
+ - name: Download coverage artifacts I to P
+ uses: actions/download-artifact@v4
+ with:
+ name: coverage-i-p
+ path: coverage
+
+ - name: Download coverage artifacts Z to Z
+ uses: actions/download-artifact@v4
+ with:
+ name: coverage-r-z0-9
path: coverage
- name: Combine coverage
run: |
make COLLECTION_VERSION=100.100.100-git install_collection
mkdir -p ~/.ansible/collections/ansible_collections/awx/awx/tests/output/coverage
- cd coverage
- for i in coverage-*; do
- cp -rv $i/* ~/.ansible/collections/ansible_collections/awx/awx/tests/output/coverage/
- done
+ cp -rv coverage/* ~/.ansible/collections/ansible_collections/awx/awx/tests/output/coverage/
cd ~/.ansible/collections/ansible_collections/awx/awx
ansible-test coverage combine --requirements
ansible-test coverage html
@@ -424,7 +434,7 @@ jobs:
done
- name: Upload coverage report as artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: awx-collection-integration-coverage-html
path: ~/.ansible/collections/ansible_collections/awx/awx/tests/output/reports/coverage