Skip to content

5215 add program indicator graphql layer queries #2285

5215 add program indicator graphql layer queries

5215 add program indicator graphql layer queries #2285

Workflow file for this run

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