generated from hashicorp/packer-plugin-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (34 loc) · 898 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
name: CI
on:
pull_request: # no need for 'push'; all pushes (to master) are PR-ed
branches:
- '**'
paths-ignore:
- '**.md'
- '**.mdx'
tags-ignore:
- 'v*' # Don't run CI tests on release tags
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Checkout go.mk
run: make go.mk
- uses: ./go.mk/.github/actions/setup
- uses: ./go.mk/.github/actions/pre-check
- name: Build
run: make build
- name: Unit tests
run: make test-verbose
- name: Acceptance tests
run: |
make test-acc
cd /tmp/packer-plugin-test && md5sum -c *.md5sum
env:
EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }}
EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }}