feat: Split privilege resource / data source in resource / data source for each type #355
Workflow file for this run
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
on: [pull_request] | |
name: Test with PRO features | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.18.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout source codes | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Test client with nexus3 instance | |
env: | |
NEXUS3_LICENSE_B64_ENCODED: ${{ secrets.NEXUS3_LICENSE_B64_ENCODED }} | |
AZURE_STORAGE_ACCOUNT_KEY: ${{ secrets.AZURE_STORAGE_ACCOUNT_KEY }} | |
run: | | |
# echo "${NEXUS3_LICENSE_B64_ENCODED}" | base64 -d > scripts/license.lic | |
make start-services | |
test -s scripts/license.lic || export SKIP_PRO_TESTS="true" | |
test -n "${AZURE_STORAGE_ACCOUNT_KEY}" || export SKIP_AZURE_TESTS="true" | |
make test | |
make vet | |
make testacc | |
make stop-services |