Skip to content

Commit

Permalink
Add new libc test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonaka committed Jun 28, 2023
1 parent 4f5b095 commit 4550c65
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/test-server-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,49 @@ jobs:
run: docker-compose ${{ env.COMPOSE_FILES_OPT }} run medium-libc pytest src/tests/test_${{ matrix.test_name }}.py -s -v -log-cli-level=DEBUG
working-directory: ./scripts

medium_test_libclient_new:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_name:
[
correl,
get_elapsed_time,
job_error_info,
join,
mean,
parallel,
send_share,
string,
sum,
token,
variance,
get_computation_result
]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.CI_REPOSITORY_ACCESS_TOKEN }}
submodules: true

- name: Update .bazelrc for using remote cache
run: |
eval "echo \"$(cat ./.github/workflows/.bazelrc_for_ci)\"" >> ./packages/server/computation_container/.bazelrc
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}

- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- uses: ./.github/actions/prepare_libclient_test

- name: Run container test
run: docker-compose ${{ env.COMPOSE_FILES_OPT }} run medium-libc pytest src/tests_new/test_${{ matrix.test_name }}.py -s -v -log-cli-level=DEBUG
working-directory: ./scripts

medium_test_container_up:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4550c65

Please sign in to comment.