Catch errors when loading the original file (and show them) #325
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: Build and Test | |
on: [push, pull_request] | |
jobs: | |
build-test: | |
runs-on: ubuntu-18.04 | |
container: racket/racket-ci:latest | |
strategy: | |
fail-fast: false | |
matrix: | |
vm: ['BC', 'CS'] | |
steps: | |
- uses: actions/checkout@master | |
- uses: Bogdanp/[email protected] | |
with: | |
architecture: 'x64' | |
distribution: 'minimal' | |
variant: ${{ matrix.vm }} | |
version: 'current' | |
- name: Install and setup | |
run: | | |
raco pkg install --auto compiler-lib | |
racket -l- pkg/dirs-catalog --link --check-metadata pkgs-catalog . | |
echo file://`pwd`/pkgs-catalog/ > catalog-config.txt | |
raco pkg config catalogs >> catalog-config.txt | |
raco pkg config --set catalogs `cat catalog-config.txt` | |
raco pkg install -i --auto --no-setup gui-lib/ gui-doc/ gui/ tex-table/ gui-test/ | |
raco setup --pkgs gui gui-lib gui-test tex-table | |
- name: Run tests | |
run: | | |
xvfb-run -a racket -l tests/gracket/wxme | |
xvfb-run -a raco test -e -l tests/gracket/test |