rival-machine-adjust function cleanup #611
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: Unit Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Install Packages" | |
run: sudo apt-get install -y libmpfr6 libmpfr-dev | |
- name: "Install Racket" | |
uses: Bogdanp/[email protected] | |
with: | |
version: stable | |
- uses: actions/checkout@master | |
- name: "Install dependencies" | |
run: raco pkg install --name rival --no-cache --auto | |
- name: "Install raco fmt" | |
run: raco pkg install --auto fmt | |
- name: "Reformat all of the source code" | |
run: raco fmt -i **/*.rkt | |
- name: "Make sure files are correctly formatted with raco fmt" | |
run: git diff --exit-code | |
- run: raco test *.rkt |