feat: test only db-sqlx-sqlite workspace

This commit is contained in:
Aravinth Manivannan 2022-04-12 17:45:35 +05:30
parent 99fabab5bc
commit da88e6f0b4
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -44,6 +44,7 @@ jobs:
target target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install ${{ matrix.version }} - name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@ -85,7 +86,8 @@ jobs:
# POSTGRES_DATABASE_URL: "${{ env.POSTGRES_DATABASE_URL }}" # POSTGRES_DATABASE_URL: "${{ env.POSTGRES_DATABASE_URL }}"
# SQLITE_DATABASE_URL: "${{ env.SQLITE_DATABASE_URL }}" # SQLITE_DATABASE_URL: "${{ env.SQLITE_DATABASE_URL }}"
with: with:
args: "--all-features --no-fail-fast --workspace=database/db-sqlx-postgres,database/db-sqlx-sqlite,. -t 1200" args: "--all-features --no-fail-fast --workspace=db/db-sqlx-sqlite,. -t 1200"
# args: "--all-features --no-fail-fast --workspace=database/db-sqlx-postgres,database/db-sqlx-sqlite,. -t 1200"
- name: Upload to Codecov - name: Upload to Codecov
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')