Skip to content

Commit

Permalink
ci(github): add Mac and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed May 25, 2024
1 parent 928e850 commit 1395e8d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,26 @@ jobs:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies

- 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
sudo apt-get install -y expect
- name: Set up just
uses: extractions/setup-just@v2

- name: Run tests
run: |
just test
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ release-windows:

test: debug test-unit test-integration

[unix]
test-integration:
{{ TCLSH }} tests/integration.tcl

Expand Down

0 comments on commit 1395e8d

Please sign in to comment.