Skip to content

Fix test suite

Fix test suite #71

Workflow file for this run

name: build-and-test
on:
push:
# all branches
pull_request:
branches:
- main
- master
# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout pacman-catalog
uses: actions/checkout@v4
- name: debug A
run: |
echo GITHUB_WORKSPACE=${GITHUB_WORKSPACE}
pwd
env | sort
find . -type d
- name: Install dylan-tool
uses: dylan-lang/install-dylan-tool@v2
with:
tag: v0.11.0
- name: debug B
run: |
find . -type d
- name: Build pacman-catalog-test-suite
run: |
export DYLAN_CATALOG=.
${GITHUB_WORKSPACE}/../dylan update
${GITHUB_WORKSPACE}/../dylan build -a
- name: Run pacman-catalog-test-suite
run: |
export DYLAN_CATALOG=.
_build/bin/pacman-catalog-test-suite