Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
fix(ci): fail on integration tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
philpax committed Jul 2, 2023
1 parent d68e0ab commit c0b197f
Showing 1 changed file with 33 additions and 35 deletions.
68 changes: 33 additions & 35 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,40 @@ permissions:
contents: write

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

CARGO_TERM_COLOR: always

jobs:
test:
strategy:
# Don't stop testing if an architecture fails
fail-fast: false
matrix:
model: [llama, gptneox, gptj, mpt, bloom]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libssl-dev \
pkg-config \
zlib1g-dev
- name: Run Integration Tests for ${{ matrix.model }}
run: cargo run --release --bin llm-test ${{ matrix.model }}
continue-on-error: true
# Upload test results
- uses: actions/upload-artifact@v3
if: always()
with:
name: test-reports
path: ./.tests/results/*.json
test:
strategy:
# Don't stop testing if an architecture fails
fail-fast: false
matrix:
model: [llama, gptneox, gptj, mpt, bloom]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libssl-dev \
pkg-config \
zlib1g-dev
- name: Run Integration Tests for ${{ matrix.model }}
run: cargo run --release -p llm-test ${{ matrix.model }}
# Upload test results
- uses: actions/upload-artifact@v3
if: always()
with:
name: test-reports
path: ./.tests/results/*.json

0 comments on commit c0b197f

Please sign in to comment.