Skip to content

Commit

Permalink
GA: Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
petrgazarov committed Oct 18, 2023
1 parent c6aaa9b commit 6fee06a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/test_linux_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: salami-repo

- name: Install Homebrew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Expand All @@ -37,7 +39,7 @@ jobs:
LATEST_TAG=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/latest" | jq -r .tag_name)
echo "tag=${LATEST_TAG}" >> $GITHUB_OUTPUT

- name: Verify Installation
- name: Verify version
run: |
set -euo pipefail

Expand All @@ -46,3 +48,8 @@ jobs:
echo "Version mismatch. Expected: Salami v${{ steps.latest-tag.outputs.tag }}, Got: $version"
exit 1
fi

- name: Verify compile
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: salami-repo/.github/scripts/verify-compile/run.sh salami-repo
7 changes: 2 additions & 5 deletions .github/workflows/test_macos_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: salami-repo

- name: Tap Salami
run: brew tap petrgazarov/salami
Expand Down Expand Up @@ -44,11 +46,6 @@ jobs:
exit 1
fi

- name: Checkout code
uses: actions/checkout@v3
with:
path: salami-repo

- name: Verify compile
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down

0 comments on commit 6fee06a

Please sign in to comment.