Add smoke tests for the new actions

This commit is contained in:
TSR Berry 2023-09-17 12:19:16 +02:00
parent c67b7c75b3
commit 98c9cd3ee5
No known key found for this signature in database
GPG Key ID: 52353C0A4CCA15E2

35
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: Test
on:
push:
workflow_dispatch:
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test Ryujinx-Mako (setup-git)
uses: ./
with:
command: setup-git
app_id: ${{ secrets.MAKO_APP_ID }}
private_key: ${{ secrets.MAKO_PRIVATE_KEY }}
installation_id: ${{ secrets.MAKO_INSTALLATION_ID }}
subactions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test setup-mako
uses: ./.github/actions/setup-mako
- name: Test execute-command (setup-git)
uses: ./.github/actions/execute-command
with:
command: setup-git
app_id: ${{ secrets.MAKO_APP_ID }}
private_key: ${{ secrets.MAKO_PRIVATE_KEY }}
installation_id: ${{ secrets.MAKO_INSTALLATION_ID }}