mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
There are a number of changes here: - Abstract out a GHA composite action for running the dev environment - Update the e2e tests to use that new abstracted action - Introduce a new (matrixed) job for running collection integration tests. This splits the jobs up based on filename. - Collect coverage info and generate an html report that people can download easily to see collection coverage info. - Do some hacks to delete the intermediary coverage file artifacts which aren't needed after the job finishes. Signed-off-by: Rick Elrod <rick@elrod.me>
20 lines
523 B
YAML
20 lines
523 B
YAML
name: Upload logs
|
|
description: Upload logs from `make docker-compose` devel environment to GitHub as an artifact
|
|
inputs:
|
|
log-filename:
|
|
description: "*Unique* name of the log file"
|
|
required: true
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Get AWX logs
|
|
shell: bash
|
|
run: |
|
|
docker logs tools_awx_1 > ${{ inputs.log-filename }}
|
|
|
|
- name: Upload AWX logs as artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: docker-compose-logs
|
|
path: ${{ inputs.log-filename }}
|