5364 gis scanner handling #2282
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
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- 'server/**' | |
workflow_dispatch: | |
name: CI | |
jobs: | |
build_and_test: | |
name: Remote Server Tests (sqlite) | |
runs-on: self-hosted | |
timeout-minutes: 25 | |
env: | |
CARGO_TARGET_DIR: /tmp/target/sqlite | |
steps: | |
- name: Update PATH | |
run: echo "$HOME/.cargo/bin:/opt/homebrew/bin" >> $GITHUB_PATH | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clean | |
args: -p repository -p graphql_types -p graphql_plugin --manifest-path server/Cargo.toml | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features=sqlite --manifest-path server/Cargo.toml | |
build_and_test_pg: | |
name: Remote Server Tests (postgres) | |
runs-on: self-hosted | |
timeout-minutes: 25 | |
env: | |
CARGO_TARGET_DIR: /tmp/target/postgres | |
steps: | |
- name: Update PATH | |
run: echo "$HOME/.cargo/bin/:/opt/homebrew/bin" >> $GITHUB_PATH | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clean | |
args: -p repository -p graphql_types -p graphql_plugin --manifest-path server/Cargo.toml | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features=postgres --manifest-path server/Cargo.toml |