Run tests #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
# should also run on pull requests I guess | |
on: | |
schedule: | |
# each night at 0:00 | |
- 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: 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 |