Merge pull request #38 from Conjur-Enterprise/prep-release #203
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: CI | |
| on: [push] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Build Go package (release snapshot) | |
| run: ./build --snapshot | |
| if: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
| - name: Build Go package (snapshot) | |
| run: ./build --snapshot | |
| if: ${{ ! startsWith(github.ref, 'refs/tags/v') }} | |
| - name: Run unit tests | |
| run: ./test_unit | |
| - name: Run acceptance tests | |
| run: ./test_acceptance | |
| - name: Validate installation script | |
| run: ./bin/installer-test --ubuntu-20.04 |