Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erimatnor committed Mar 21, 2022
1 parent 88db82e commit 112917d
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/sqlsmith.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
name: SQLsmith
env:
SEEDS: ''
OS: 'ubuntu-20.04'
PG: '14.2'
BUILD_TYPE: 'Debug'
NUM_RUNS: 10
MAX_QUERIES: 10000
TSDB_BUILD_ARGS: ''
on:
schedule:
# run daily 20:00 on main branch
Expand All @@ -24,20 +16,20 @@ on:
description: 'The OS to run on'
required: true
type: choice
default: ${{ env.OS }}
default: 'ubuntu-20.04'
options:
- 'ubuntu-20.04'
- 'ubuntu-latest'
pg:
description: 'PostgreSQL version'
required: true
default: ${{ env.PG }}
default: '14.2'
type: string
build_type:
description: 'Build type'
required: true
type: choice
default: ${{ env.BUILD_TYPE }}
default: 'Debug'
options:
- 'Debug'
- 'Release'
Expand All @@ -49,12 +41,12 @@ on:
number_of_runs:
description: 'Number of SQLsmith runs (ignored if seeds is set)'
type: number
default: ${{ env.NUM_RUNS }}
default: 10
required: true
max_queries:
description: 'Max number of SQLsmith queries per run'
type: number
default: ${{ env.MAX_QUERIES }}
default: 10000
required: true
push:
branches:
Expand All @@ -64,13 +56,13 @@ jobs:
name: SQLsmith PG${{ env.PG }}
runs-on: ${{ env.OS }}
env:
SEEDS: ${{ github.event.inputs.seeds || '' }}
OS: ${{ github.event.inputs.os || env.OS }
PG: ${{ github.event.inputs.pg || env.PG }
BUILD_TYPE: ${{ github.event.inputs.build_type || env.BUILD_TYPE }
SEEDS: ${{ github.event.inputs.seeds }}
OS: ${{ github.event.inputs.os || 'ubuntu-20.04' }}
PG: ${{ github.event.inputs.pg || '14.2' }}
BUILD_TYPE: ${{ github.event.inputs.build_type || 'Debug' }}
NUM_RUNS: ${{ github.event.inputs.number_of_runs || 10 }}
MAX_QUERIES: ${{ github.event.inputs.max_queries || env.MAX_QUERIES }}
TSDB_BUILD_ARGS: ${{ github.event.inputs.tsdb_build_args || '' }
MAX_QUERIES: ${{ github.event.inputs.max_queries || 10000 }}
TSDB_BUILD_ARGS: ${{ github.event.inputs.tsdb_build_args }}
PG_SRC_DIR: pgbuild
PG_INSTALL_DIR: postgresql
steps:
Expand Down

0 comments on commit 112917d

Please sign in to comment.