mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-09 10:55:39 +00:00
WORKFLOW: added a first instance of automated tests after the release publishment
This commit is contained in:
parent
eb926fd9e4
commit
5862232027
40
.github/workflows/build_release.yml
vendored
40
.github/workflows/build_release.yml
vendored
|
@ -311,4 +311,44 @@ jobs:
|
||||||
# release_body: ${{ env.RELEASE_BODY }}
|
# release_body: ${{ env.RELEASE_BODY }}
|
||||||
# artifacts: "retrodeck-artifacts/*.flatpak,retrodeck-artifacts/*.flatpak.sha,retrodeck-artifacts/*Artifact.tar.gz"
|
# artifacts: "retrodeck-artifacts/*.flatpak,retrodeck-artifacts/*.flatpak.sha,retrodeck-artifacts/*Artifact.tar.gz"
|
||||||
# tag: ${{ env.TAG }}
|
# 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue