Skip to content

chore: run test-action on all supported os/arch variants #8

chore: run test-action on all supported os/arch variants

chore: run test-action on all supported os/arch variants #8

Workflow file for this run

name: Test
on:
push:
branches: [main]
jobs:
test-download-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: python3 test.py
test-action:
strategy:
matrix:
include:
- variant: Linux-X64
runs-on: ubuntu-latest
- variant: Linux-ARM64
runs-on: ubuntu-24.04-arm
- variant: Windows-X64
runs-on: windows-latest
- variant: Windows-ARM64
runs-on: windows-11-arm
- variant: macOS-X64
runs-on: macos-13
- variant: macOS-ARM64
runs-on: macos-latest
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- name: Schedule wush kill
shell: bash
run: |
nohup bash -c 'sleep 15 && pgrep -f wush && echo "wush is running" > wush.log && pkill -INT -f wush' >pkill.log 2>&1 &
- name: Run Wush Action
uses: ./
timeout-minutes: 1
- name: Check wush started
shell: bash
run: |
if [ -f wush.log ]; then
echo "wush was started"
exit 0
else
echo "wush was not started"
exit 1
fi
- name: Debug
uses: ./
if: failure()
timeout-minutes: 15