From 87bd32700bd8c955d4650997a9e44f59981d46b7 Mon Sep 17 00:00:00 2001 From: Ariya Hidayat Date: Mon, 16 Sep 2024 19:34:53 -0700 Subject: [PATCH] CI: No need for an explicit install --- .github/workflows/test-ai21.yml | 4 +--- .github/workflows/test-cpython.yml | 4 +--- .github/workflows/test-deepinfra.yml | 4 +--- .github/workflows/test-fireworks.yml | 4 +--- .github/workflows/test-groq.yml | 4 +--- .github/workflows/test-hyperbolic.yml | 4 +--- .github/workflows/test-lepton.yml | 4 +--- .github/workflows/test-nodejs.yml | 4 +--- .github/workflows/test-novita.yml | 4 +--- .github/workflows/test-octo.yml | 4 +--- .github/workflows/test-openai.yml | 4 +--- .github/workflows/test-openrouter.yml | 4 +--- .github/workflows/test-together.yml | 4 +--- 13 files changed, 13 insertions(+), 39 deletions(-) diff --git a/.github/workflows/test-ai21.yml b/.github/workflows/test-ai21.yml index 1c9b34c..d385439 100644 --- a/.github/workflows/test-ai21.yml +++ b/.github/workflows/test-ai21.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-cpython.yml b/.github/workflows/test-cpython.yml index da9ccc1..c4cafe2 100644 --- a/.github/workflows/test-cpython.yml +++ b/.github/workflows/test-cpython.yml @@ -9,9 +9,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.10' + - run: python3 --version - name: Prepare LLM (Phi-3 Mini) uses: ./.github/actions/prepare-llm diff --git a/.github/workflows/test-deepinfra.yml b/.github/workflows/test-deepinfra.yml index 6c5096f..2eaa130 100644 --- a/.github/workflows/test-deepinfra.yml +++ b/.github/workflows/test-deepinfra.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-fireworks.yml b/.github/workflows/test-fireworks.yml index 793b0e2..aba960f 100644 --- a/.github/workflows/test-fireworks.yml +++ b/.github/workflows/test-fireworks.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-groq.yml b/.github/workflows/test-groq.yml index 75f1036..64ab6b4 100644 --- a/.github/workflows/test-groq.yml +++ b/.github/workflows/test-groq.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-hyperbolic.yml b/.github/workflows/test-hyperbolic.yml index c95f982..d4b738d 100644 --- a/.github/workflows/test-hyperbolic.yml +++ b/.github/workflows/test-hyperbolic.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-lepton.yml b/.github/workflows/test-lepton.yml index 8721453..be6a18c 100644 --- a/.github/workflows/test-lepton.yml +++ b/.github/workflows/test-lepton.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-nodejs.yml b/.github/workflows/test-nodejs.yml index 244cc45..2105133 100644 --- a/.github/workflows/test-nodejs.yml +++ b/.github/workflows/test-nodejs.yml @@ -9,9 +9,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - name: Prepare LLM (Phi-3 Mini) uses: ./.github/actions/prepare-llm diff --git a/.github/workflows/test-novita.yml b/.github/workflows/test-novita.yml index 7b3568b..ba84981 100644 --- a/.github/workflows/test-novita.yml +++ b/.github/workflows/test-novita.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-octo.yml b/.github/workflows/test-octo.yml index a015df5..13f6e7a 100644 --- a/.github/workflows/test-octo.yml +++ b/.github/workflows/test-octo.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-openai.yml b/.github/workflows/test-openai.yml index d619158..b37eb37 100644 --- a/.github/workflows/test-openai.yml +++ b/.github/workflows/test-openai.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-openrouter.yml b/.github/workflows/test-openrouter.yml index f7e5cb9..addc7c3 100644 --- a/.github/workflows/test-openrouter.yml +++ b/.github/workflows/test-openrouter.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3 diff --git a/.github/workflows/test-together.yml b/.github/workflows/test-together.yml index 9b1ece1..dbbb8e4 100644 --- a/.github/workflows/test-together.yml +++ b/.github/workflows/test-together.yml @@ -12,9 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' + - run: node --version - run: echo 'Which planet in our solar system is the largest?' | ./ask-llm.js | tee output.txt | grep -i jupiter timeout-minutes: 3