Remove timeout from nats events (#111) #178
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
permissions: | |
contents: read | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
name: test | |
jobs: | |
required: | |
name: ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: Setup environment | |
run: docker compose up -d | |
- name: Run migrations | |
run: cargo run -p migration | |
env: | |
DATABASE_URL: 'postgres://matverseny:[email protected]:5432/matverseny' | |
- name: cargo test --locked | |
run: cargo test --locked --all-features --workspace --all-targets | |
env: | |
IAM_URL: http://127.0.0.1:3001 | |
IAM_APP_SECRET: QXBwSUQtNzAwNzk1N2QtN2Q5OC0xMWVlLTg4NTktNzY2NTY0MDAwMDAwOndhdDRUSGdwcEJJdWExa095Z3R5R3hpU3hpRkVSZFZ4 | |
NATS_URL: 127.0.0.1 | |
- name: cargo test --doc | |
run: cargo test --locked --all-features --workspace --doc |