Replace once_cell::Lazy
with std::sync::OnceLock
for global Initialization in OpenTelemetry API crate
#4333
Workflow file for this run
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 | |
env: | |
CI: true | |
on: | |
pull_request: | |
types: [ labeled, synchronize, opened, reopened ] | |
jobs: | |
integration_tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
if: ${{ github.event.label.name == 'integration tests' || contains(github.event.pull_request.labels.*.name, 'integration tests') }} | |
steps: | |
- name: Free disk space | |
run: | | |
df -h | |
sudo rm -rf /usr/local/lib/android | |
sudo rm -rf /usr/share/dotnet | |
df -h | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- uses: arduino/setup-protoc@v3 | |
- name: Run integration tests using docker compose | |
run: ./scripts/integration_tests.sh |