From e114d29ab8368ac7ec278f6f4d622ca4a884c9fc Mon Sep 17 00:00:00 2001 From: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Date: Mon, 11 Dec 2023 08:16:57 -0500 Subject: [PATCH] chore: testing --- .github/workflows/tests.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f08c7701..8a6a020b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,16 +8,14 @@ on: - 'main' workflow_dispatch: inputs: - build_id: - required: true - type: string - deploy_target: - required: true - type: string - perform_deploy: - required: true + enable_debug_vnc: + required: false type: boolean - default: true + default: false + enable_debug_tmate: + required: false + type: boolean + default: false schedule: # daily 9AM EST - cron: "0 14 * * *" @@ -29,11 +27,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Testing1234 - if: ${{ inputs.perform_deploy }} - run: | - echo build_id ${{ inputs.build_id }} deploy_target ${{ inputs.deploy_target }} - - name: Setup Neovim nightly uses: rhysd/action-setup-vim@v1 with: @@ -52,9 +45,14 @@ jobs: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - name: Start Xvfb + if: ${{ ! inputs.enable_debug_vnc }} run: | Xvfb :1 -screen 0 1024x768x16 & + - name: Setup tmate session + if: ${{ inputs.enable_debug_tmate || inputs.enable_debug_vnc }} + uses: mxschmitt/action-tmate@v3 + - name: Test kitty-scrollback.nvim run: | # TODO: improve the env var exports, github actions are making it hard so I gave up for now