This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
CI #10407
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: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '13 */4 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go 1.16 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.16 | |
- name: Test source code | |
run: script/test-source | |
- name: Test build | |
run: script/test-build | |
- name: Test unit | |
run: script/test-unit | |
- name: Update packages | |
run: sudo apt-get update | |
- name: Set up SQLite | |
run: sudo apt-get install sqlite3 | |
- name: Start local MySQL | |
run: sudo /etc/init.d/mysql start | |
- name: Test integration | |
run: script/test-integration | |
- name: Test documentation | |
run: script/test-docs | |
- name: Upload orchestrator binary artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: orchestrator | |
path: bin/orchestrator |