Update setup.md #880
This file contains hidden or 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 | |
| on: push | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v2 | |
| # prepare environment | |
| - name: setup java 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: setup node 18 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: setup conda | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| miniconda-version: "latest" | |
| environment-file: environment.yml | |
| activate-environment: pgdb | |
| # test application | |
| - name: build application | |
| run: make build | |
| - name: test application | |
| run: make test |