File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 33
33
java-version : 1.8
34
34
- name : lint
35
35
run : ./gradlew spotlessCheck
36
- - name : Test
37
- run : ./gradlew test
36
+ - name : Write test secret to file
37
+ run : envsubst < ci/config_template.yml > test-config.yml
38
+ env :
39
+ SERVER_HOSTNAME : ${{ secrets.TEST_SERVER_HOSTNAME }}
40
+ HTTP_PATH : ${{ secrets.TEST_HTTP_PATH }}
41
+ PERSONAL_ACCESS_TOKEN : ${{ secrets.TEST_PERSONAL_ACCESS_TOKEN }}
42
+ CATALOG_NAME : ${{ secrets.TEST_CATALOG_NAME }}
43
+ SCHEMA_NAME : ${{ secrets.TEST_SCHEMA_NAME }}
44
+ TABLE_PREFIX : ${{ secrets.TEST_TABLE_PREFIX }}
45
+ ANOTHER_CATALOG_NAME : ${{ secrets.TEST_ANOTHER_CATALOG_NAME }}
46
+ - run : ./gradlew test
47
+ env :
48
+ EMBULK_INPUT_DATABRICKS_TEST_CONFIG : " ./test-config.yml"
38
49
build :
39
50
name : Build + Publish
40
51
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ server_hostname : " $SERVER_HOSTNAME"
2
+ http_path : " $HTTP_PATH"
3
+ personal_access_token : " $PERSONAL_ACCESS_TOKEN"
4
+ catalog_name : " $CATALOG_NAME"
5
+ schema_name : " $SCHEMA_NAME"
6
+ table_prefix : " $TABLE_PREFIX"
7
+ another_catalog_name : " $TEST_ANOTHER_CATALOG_NAME"
You can’t perform that action at this time.
0 commit comments