Skip to content

Commit

Permalink
95 add conditional form validations (#96)
Browse files Browse the repository at this point in the history
* feat: update configs for pd percep

* feat: finished pd perceps config

* feat: update metadata

* fix: updated scripts with latest

* fix: fixed key names

* fix: update go version
  • Loading branch information
nicoalee authored Sep 29, 2023
1 parent 4005f88 commit c0aa2e5
Show file tree
Hide file tree
Showing 3 changed files with 3,877 additions and 365 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,26 @@ name: CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.18
id: go

- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: go mod tidy && go mod download
- name: Get dependencies
run: go mod tidy && go mod download

- name: Build
run: go build src/main/main.go
- name: Build
run: go build src/main/main.go
15 changes: 4 additions & 11 deletions populate-scripts/insert-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@
INSERT INTO tasks (id, from_platform, task_type, name, description, external_url, config) VALUES
(
NULL,
"PAVLOVIA",
"EXPERIMENTAL",
"JH_Bandit Task",
"PSHARPLAB",
"QUESTIONNAIRE",
"PD-Percep Questionnaire",
"",
"",
'{
"taskConfig": {},
"metadata": [
{
"componentName": "EMBEDDEDPAGECOMPONENT",
"componentConfig": {
"externalUrl": "https://run.pavlovia.org/Patrick250/jh_bandit"
}
}
]
"metadata": []
}'
);
Loading

0 comments on commit c0aa2e5

Please sign in to comment.