debug #221
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
# III-IV | |
# Copyright 2023 Julio Merino | |
name: Test | |
on: [push] | |
jobs: | |
# lint: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 5 | |
# env: | |
# RUSTC_WRAPPER: "sccache" | |
# SCCACHE_GHA_ENABLED: "true" | |
# steps: | |
# - uses: actions-rs/toolchain@v1 | |
# with: | |
# profile: minimal | |
# # Use the latest stable Rust version for lint checks to | |
# # verify any new Clippy warnings that may appear. | |
# toolchain: stable | |
# default: true | |
# components: clippy, rustfmt | |
# - uses: actions/checkout@v2 | |
# - uses: mozilla-actions/[email protected] | |
# - run: sudo apt update | |
# - run: sudo apt install pre-commit | |
# - run: ./lint.sh | |
test-individually: | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
env: | |
AZURE_MAPS_KEY: ${{ secrets.AZURE_MAPS_KEY }} | |
PGSQL_TEST_HOST: ${{ secrets.PGSQL_TEST_HOST }} | |
PGSQL_TEST_PORT: ${{ secrets.PGSQL_TEST_PORT }} | |
PGSQL_TEST_DATABASE: ${{ secrets.PGSQL_TEST_DATABASE }} | |
PGSQL_TEST_USERNAME: ${{ secrets.PGSQL_TEST_USERNAME }} | |
PGSQL_TEST_PASSWORD: ${{ secrets.PGSQL_TEST_PASSWORD }} | |
RUSTC_WRAPPER: "sccache" | |
SCCACHE_GHA_ENABLED: "true" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: mozilla-actions/[email protected] | |
- run: echo 'export RUST_LOG=trace' >config.env | |
- run: ./test.sh -f postgres -a postgres -a --nocapture -a --test-threads=1 core | |
# test-workspace: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 5 | |
# env: | |
# AZURE_MAPS_KEY: ${{ secrets.AZURE_MAPS_KEY }} | |
# PGSQL_TEST_HOST: ${{ secrets.PGSQL_TEST_HOST }} | |
# PGSQL_TEST_PORT: ${{ secrets.PGSQL_TEST_PORT }} | |
# PGSQL_TEST_DATABASE: ${{ secrets.PGSQL_TEST_DATABASE }} | |
# PGSQL_TEST_USERNAME: ${{ secrets.PGSQL_TEST_USERNAME }} | |
# PGSQL_TEST_PASSWORD: ${{ secrets.PGSQL_TEST_PASSWORD }} | |
# RUSTC_WRAPPER: "sccache" | |
# SCCACHE_GHA_ENABLED: "true" | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: mozilla-actions/[email protected] | |
# - run: ./test.sh |