👷 ci fix? #19
This file contains hidden or 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: Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v4.2.3 | |
name: Cache installed packages | |
with: | |
path: | | |
~/.cache/racket | |
~/.local/share/racket | |
key: ${{ runner.os }}-raco-${{ hashFiles('**/info.rkt') }} | |
- name: Set up Racket | |
uses: Bogdanp/setup-racket@v1.12 | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
variant: 'CS' | |
version: 'stable' | |
- name: Run tests | |
run: raco test main.rkt | |
# - name: Coverage report | |
# if: success() | |
# run: | | |
# raco setup --check-pkg-deps --pkgs algorithms | |
# raco pkg install --auto cover cover-coveralls | |
# raco cover -b -f coveralls -d ${{ github.workspace }}/coverage . |