-
Notifications
You must be signed in to change notification settings - Fork 25
39 lines (33 loc) · 943 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:
push:
branches:
- '**'
paths-ignore:
- '**.md'
- 'website/**'
- 'examples/**'
- '.goreleaser.yml'
tags-ignore:
- 'v*' # Don't run CI tests on release tags
jobs:
check-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive go.mk
- uses: ./go.mk/.github/actions/setup
- name: Check documentation is up to date
run: './scripts/check-documentation-clean.sh'
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive go.mk
- uses: ./go.mk/.github/actions/setup
- uses: ./go.mk/.github/actions/pre-check
- name: Run tests
run: make test-verbose test-acc
env:
EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }}
EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }}