drop replace secrets #37
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
name: Test ERDDAP views | |
on: | |
push: | |
paths: | |
- views/** | |
branch: | |
- development | |
- master | |
pull_request: | |
paths: | |
- views/** | |
branch: | |
- development | |
- master | |
jobs: | |
test: | |
name: Test somemodule Go code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Import DB seed data | |
env: | |
PGHOST: ${secrets.PGHOST} | |
PGPORT: ${secrets.PGPORT} | |
PGDATABASE: ${secrets.PGDATABASE} | |
PGUSER: ${secrets.PGUSER} | |
PGPASSWORD: ${secrets.PGPASSWORD} | |
run: (echo "BEGIN:"; cat .views/*.sql; echo "ROLLBACK;") | psql |