CI: add test to diagnose topiary problem #487
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: Ursa CI | |
on: [push, pull_request] | |
jobs: | |
# Build job | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: mkdir -p ~/.cache # work around https://github.com/tweag/topiary/issues/740 | |
- run: git clone https://github.com/rrthomas/topiary ~/topiary && cd ~/topiary && cargo install --path topiary-cli | |
- run: | | |
mkdir -p ~/.cache | |
strace -f topiary -v -v -v -v format --language ursa --query ./src/topiary/ursa.scm < ./src/ursa/prelude.ursa | |
npm install | |
npm run test-all |