Skip to content

Commit 7fc6ea3

Browse files
committed
add github actions test
1 parent 68d2470 commit 7fc6ea3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@ name: test
22
on: [push]
33

44
jobs:
5+
coder:
6+
strategy:
7+
matrix:
8+
os: [macos-latest, ubuntu-latest]
9+
runs-on: ${{ matrix.os }}
10+
steps:
11+
- uses: actions/checkout@v1
12+
- run: |
13+
if [[ "$(uname -s)" == "Linux" ]]
14+
then
15+
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
16+
fi
17+
- run: brew install --build-from-source ./coder.rb
18+
- run: coder version
519
coder_cli:
620
strategy:
721
matrix:

0 commit comments

Comments
 (0)