From 05e47d4866e5413eb107a6bf0753277dad1f1867 Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Sat, 2 Dec 2023 07:07:33 -0800 Subject: [PATCH] debug --- .github/workflows/test.yml | 79 +++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f35350..7aa81b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,33 +3,33 @@ name: Test -on: [push, pull_request] +on: [push] jobs: - lint: - runs-on: ubuntu-latest - timeout-minutes: 15 - 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/sccache-action@v0.0.3 - - run: sudo apt update - - run: sudo apt install pre-commit - - run: ./lint.sh +# 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/sccache-action@v0.0.3 +# - run: sudo apt update +# - run: sudo apt install pre-commit +# - run: ./lint.sh test-individually: runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 2 env: AZURE_MAPS_KEY: ${{ secrets.AZURE_MAPS_KEY }} PGSQL_TEST_HOST: ${{ secrets.PGSQL_TEST_HOST }} @@ -42,21 +42,22 @@ jobs: steps: - uses: actions/checkout@v2 - uses: mozilla-actions/sccache-action@v0.0.3 - - run: ./test.sh all + - run: echo 'export RUST_LOG=debug' >config.env + - run: ./test.sh -f postgres -a postgres -a --nocapture -a --test-threads=1 core - test-workspace: - runs-on: ubuntu-latest - timeout-minutes: 15 - 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/sccache-action@v0.0.3 - - run: ./test.sh +# 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/sccache-action@v0.0.3 +# - run: ./test.sh