Add tracing and examples for run
and run_to_completion
#206
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
# This workflow will make use of Faktory put behind NGINX to test | |
# the crate's tls feature (see docker dir in the project's root) | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
name: tls | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: ubuntu-latest / stable / tls | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Launch Faktory behind NGINX | |
run: docker compose -f docker/compose.yml up -d --build | |
- name: Install stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: cargo generate-lockfile | |
if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
- name: Run tests | |
env: | |
FAKTORY_URL_SECURE: tcp://localhost:17419 | |
run: cargo test --locked --features native_tls,rustls --test tls |