tree/main/dist is the docs target #33
Workflow file for this run
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: Verify output and test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Install bundler and gems | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: Run unit tests | |
run: make unit_tests | |
- name: Run integration tests | |
run: make integration_tests | |
verify_schema: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Install bundler and gems | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: Install Cue | |
uses: cue-lang/setup-cue@v1.0.0 | |
with: | |
version: 'v0.7.0' | |
- name: Run tests | |
run: make vet_schema |