From 98c9cd3ee56adb91b6fda2b06ddfd8a9e4e18acc Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sun, 17 Sep 2023 12:19:16 +0200 Subject: [PATCH] Add smoke tests for the new actions --- .github/workflows/test.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b3853b9 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 }}