WORKFLOW: added a first instance of automated tests after the release publishment

This commit is contained in:
XargonWan 2024-12-10 10:16:29 +09:00
parent eb926fd9e4
commit 5862232027

View file

@ -312,3 +312,43 @@ jobs:
# artifacts: "retrodeck-artifacts/*.flatpak,retrodeck-artifacts/*.flatpak.sha,retrodeck-artifacts/*Artifact.tar.gz"
# tag: ${{ env.TAG }}
# Automated Tests
Automated_Tests:
runs-on: ubuntu-latest
outputs:
TAG: ${{ steps.version-tag.outputs.TAG }}
RELEASE_BODY: ${{ steps.version-tag.outputs.RELEASE_BODY }}
MAKE_LATEST: ${{ steps.version-tag.outputs.MAKE_LATEST }}
steps:
# Clone Repository
- name: Clone RetroDECK repo
uses: actions/checkout@v4
with:
submodules: true
# Download RetroDECK Artifacts
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4.1.8
# Install Dependencies
- name: Install dependencies
run: curl "https://raw.githubusercontent.com/RetroDECK/components-template/main/automation_tools/install_dependencies.sh" | bash
# Install RetroDECK Flatpak
- name: Install RetroDECK Flatpak
run: |
flatpak install --user --bundle --noninteractive -y "retrodeck-artifacts/RetroDECK*.flatpak"
# Run Post Build Checks
- name: Run Post Build Checks
run: |
/bin/bash ./automation_tools/post_build_check.sh
# Uninstall RetroDECK Flatpak - Not needed on a thorwaway ubuntu-latest
# - name: Uninstall RetroDECK Flatpak
# run: |
# flatpak remove --user --noninteractive -y net.retrodeck.retrodeck