Skip to content

chore: prepare for Packer integration #143

chore: prepare for Packer integration

chore: prepare for Packer integration #143

Workflow file for this run

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