docs: mark plugin as hcp ready (#58) #164
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Setup Go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | |
with: | |
go-version-file: "go.mod" | |
- name: Build | |
run: make build | |
- name: Run unit-tests | |
run: make test | |
- name: Run acceptance tests | |
env: | |
UPCLOUD_USERNAME: ${{ secrets.UPCLOUD_API_USER }} | |
UPCLOUD_PASSWORD: ${{ secrets.UPCLOUD_API_PASSWORD }} | |
PACKER_ACC: 1 | |
run: make test_integration |