github.com/yourbase/yb@v0.7.1/.yourbase.yml (about)

     1  dependencies:
     2    build:
     3      - go:1.16.3
     4  
     5  build_targets:
     6    - name: default
     7      commands:
     8        - release/build.sh yb
     9  
    10    - name: test
    11      commands:
    12        - go test -mod=readonly -race -short ./...
    13  
    14    - name: all_tests
    15      commands:
    16        - go test -mod=readonly -race ./...
    17  
    18  ci:
    19    builds:
    20      - name: test_build
    21        build_target: default
    22        when: branch IS 'main' OR action IS 'pull_request'
    23  
    24      - name: test
    25        build_target: test
    26        when: branch IS 'main' OR action IS 'pull_request'
    27