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

remove additional mock s3 step #73

remove additional mock s3 step

remove additional mock s3 step #73

name: Server Integration Test
on:
push:
branches:
- 'main'
- 'cp2-server*'
- 'rust-integration-test'
pull_request:
branches:
- 'main'
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
defaults:
run:
shell: bash
working-directory: ./server
runs-on: self-hosted
continue-on-error: false
env:
SERVER_ROOT: ${{ github.workspace }}/server
steps:
- uses: actions/checkout@v3
- name: Install Toolchain
run: rustup update stable && rustup default stable && rustup component add rustfmt
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: setup-redis
uses: shogo82148/actions-setup-redis@v1
with:
auto-start: false
- name: start redis nodes
run: ${{ github.workspace }}/server/tests/test_setup_redis.sh
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --codecov --output-path lcov.info
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: lcov.info
retention-days: 3
- name: Upload to codecov
uses: codecov/codecov-action@v3
with:
token: be8874e2-10d6-434f-9d52-db6094de31d6
files: lcov.info
name: codecov-umbrella # optional
fail_ci_if_error: true
verbose: true