ci(github): add Mac and Windows #11
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies using Homebrew | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: | | |
brew install expect | |
- name: Install dependencies using apt-get(8) | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
sudo apt-get install -y expect | |
- name: Set up just | |
uses: extractions/setup-just@v2 | |
- name: Run tests | |
run: | | |
just test |