-
Notifications
You must be signed in to change notification settings - Fork 148
hellovai/type fixes #1899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
hellovai/type fixes #1899
Changes from all commits
1d12c0b
df4ff7f
484d320
4e42315
5133f0b
2892831
27d7c9a
0707da8
fb67dd0
ad817c9
90d94e6
df99f65
665a14d
16eedac
12dc3a3
590eb4f
e6e9c92
c0dd61c
a672f51
e3f01f5
f39cf3b
1f49701
86d21e6
21b0e9c
96bc4e1
882db7a
4388e2e
5f2cec1
a64f5b5
60161be
014014a
8c09407
b1e5ac7
5658f5c
0ed2209
61fff11
64b2765
da091a3
230e108
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# infisical checks this against OIDC | ||
name: integ-tests | ||
|
||
on: | ||
workflow_call: {} | ||
workflow_dispatch: {} | ||
push: | ||
branches: [ sam/integ-tests-ci ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
# for oidc | ||
id-token: write | ||
|
||
jobs: | ||
build-test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
_: | ||
- runs-on: ubuntu-22.04 | ||
setup: | | ||
env | sort | ||
curl -fsSL https://ollama.com/install.sh | sh | ||
# test: | | ||
# ollama serve & | ||
# sleep 5 | ||
# ollama run tinyllama "2+2?" | ||
# ./tools/build integ-tests/python | ||
# ./tools/build integ-tests/typescript | ||
# ./tools/build integ-tests/ruby | ||
|
||
- runs-on: macos-14 | ||
setup: | | ||
env | sort | ||
brew install ollama go | ||
# test: | | ||
# ollama serve & | ||
# sleep 5 | ||
# ollama run tinyllama "2+2?" | ||
# ./tools/build integ-tests/python | ||
# ./tools/build integ-tests/typescript | ||
# ./tools/build integ-tests/ruby | ||
|
||
# winget is not available on windows-2019 or windows-2022 | ||
# https://github.com/actions/runner-images/issues/8584 | ||
# winget upgrade --all --silent --disable-interactivity --accept-source-agreements --accept-package-agreements | ||
# - runs-on: windows-2025 | ||
# setup: | | ||
# env | sort | ||
# winget install --id=Ollama.Ollama -e --accept-package-agreements --accept-source-agreements | ||
|
||
name: ${{ matrix._.runs-on }} | ||
runs-on: ${{ matrix._.runs-on }} | ||
# For when we have go integ tests | ||
# env: | ||
# GOARCH: ${{ matrix._.goarch }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.ollama/models | ||
key: ollama-${{ matrix._.runs-on }} | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: engine | ||
cache-on-failure: true | ||
- uses: jdx/mise-action@v2 | ||
Check warningCode scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'integ-tests' step
Uses Step Error loading related location Loading |
||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- uses: astral-sh/setup-uv@v6 | ||
Check warningCode scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'integ-tests' step
Uses Step Error loading related location Loading |
||
- name: Setup | ||
run: ${{ matrix._.setup }} | ||
- uses: infisical/[email protected] | ||
Check warningCode scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'integ-tests' step
Uses Step Error loading related location Loading |
||
with: | ||
method: oidc | ||
# https://app.infisical.com/organization/identities/5b66a909-d5b3-4835-b518-27abf4c9b97d | ||
identity-id: 5b66a909-d5b3-4835-b518-27abf4c9b97d | ||
env-slug: test | ||
project-slug: gloo-infra-9-fkp | ||
|
||
- name: setup TS | ||
run: pnpm install --frozen-lockfile | ||
working-directory: engine/language_client_typescript | ||
|
||
- name: Run all integ tests | ||
run: | | ||
ollama serve & | ||
sleep 5 | ||
ollama run tinyllama "2+2?" | ||
# If this fails, still run the next one | ||
./tools/bctl integ-tests --suite python | ||
# If this fails, still run the next one | ||
./tools/bctl integ-tests --suite typescript | ||
# If this fails, still run the next one | ||
./tools/bctl integ-tests --suite ruby |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium