Skip to content

Run tests

Run tests #283

Workflow file for this run

name: Run tests
# should also run on pull requests I guess
on:
# manually
workflow_dispatch:
# each night at 0:00
schedule:
- cron: "0 0 * * *"
jobs:
tests:
name: tests
permissions:
contents: read
packages: read
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:testcontainer
steps:
- name: Update Void Linux system
run: xbps-install -Syu xbps && xbps-install -yu
- name: Check out repository
uses: actions/checkout@v4
- name: Build binaries
run: |
git config --global --add safe.directory /__w/xdeb-install/xdeb-install
./scripts/build.sh
- name: Run tests
run: ./scripts/test.sh