.github/workflows/test-macos.yml #105
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
on: | |
push: | |
pull_request_target: | |
branches: | |
- main | |
schedule: | |
- cron: "47 16 * * FRI" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
racket-variant: ["BC", "CS"] | |
racket-version: ["8.8", "8.9", "pre-release", "stable", "current"] | |
runs-on: macos-latest | |
env: | |
PLTSTDERR: fatal@keyring | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: install racket | |
uses: Bogdanp/[email protected] | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
variant: ${{ matrix.racket-variant }} | |
version: ${{ matrix.racket-version }} | |
- name: install base package | |
run: raco pkg install --batch --auto ./keyring-lib ./keyring-test ./keyring | |
- name: install keychain package | |
run: raco pkg install --batch --auto ./keyring-keychain-lib ./keyring-keychain-test | |
- name: check dependencies | |
run: raco setup --check-pkg-deps --unused-pkg-deps --pkgs keyring-lib keyring-test keyring keyring-keychain-lib keyring-keychain-test | |
- name: run base tests | |
run: raco test --drdr --package keyring-test | |
- name: run keychain tests | |
run: raco test --drdr --submodule keychain-test --package keyring-keychain-test |