Bump prost-types from 0.9.0 to 0.13.4 #11766
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests | |
on: | |
pull_request: | |
branches: [main] | |
merge_group: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
cli-test-harness: | |
strategy: | |
matrix: | |
kind: [integration, unit, command] | |
include: | |
- os: macos-latest | |
target_feature: "+avx,+avx2,+sse4.2" | |
- os: ubuntu-latest-8-cores | |
target_feature: "+avx,+avx2,+sse4.2" | |
env: | |
TREMOR_PATH: "${{ github.workspace }}/tremor-script/lib:${{ github.workspace }}/tremor-cli/tests/lib" | |
RUSTFLAGS: -D warnings -C target-feature=${{ matrix.target_feature }} --cfg tokio_unstable | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install deps | |
if: matrix.os == 'ubuntu-latest-8-cores' | |
run: sudo apt-get -qy update && sudo apt-get install -y libssl-dev libssl1.1; sudo apt-get clean | |
- name: Install llvm-tools-preview | |
run: rustup component add llvm-tools-preview | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Print docker compose version | |
run: docker compose --version | |
- name: run ${{ matrix.kind }} tests | |
run: cargo llvm-cov run -p tremor-cli --lcov --output-path lcov.txt -- test --timeout 300 ${{ matrix.kind }} tremor-cli/tests --excludes tcp-reuseport | |
- name: Upload error logs | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test-errors | |
path: tremor-cli/tests/**/*.log | |
- name: Upload coverage to Codecov | |
uses: Wandalen/wretry.action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
action: codecov/codecov-action@v4 | |
attempt_limit: 6 | |
attempt_delay: 10000 | |
with: | | |
files: ./lcov.txt | |
flags: e2etests,e2e-${{ matrix.kind }} | |
fail_ci_if_error: ${{ github.event_name == 'pull_request' }} | |
verbose: true | |
integration-tests: | |
if: ${{ always() }} | |
name: Integration Tests | |
runs-on: ubuntu-latest | |
needs: cli-test-harness | |
steps: | |
- run: exit 1 | |
# see https://stackoverflow.com/a/67532120/4907315 | |
if: >- | |
${{ | |
contains(needs.*.result, 'failure') | |
|| contains(needs.*.result, 'cancelled') | |
|| contains(needs.*.result, 'skipped') | |
}} |