Add tests to action
Some checks failed
ci / build-image (push) Successful in 56s
ci / test-image (push) Failing after 6s

This commit is contained in:
Jonathan Cremin 2025-06-12 18:18:57 +01:00
parent 91d9af097d
commit 3cace2860f
5 changed files with 83 additions and 40 deletions

View file

@ -39,3 +39,15 @@ jobs:
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
image: combinefm
tags: latest ${{ github.sha }}
test-image:
runs-on: self-hosted
steps:
- name: Check out repository
uses: https://cremin.dev/actions/checkout@v4
- name: Test image
env:
YOUTUBE_KEY: ${{ secrets.YOUTUBE_KEY }}
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
run: |
podman run --rm --env-host -it cremin.dev/jonathan/combinefm:${{ github.sha }} yarn test