Sha256: d70f32cdf3df52dbbcc902b82f443c9a9f436ec041b46f88b8ceb2e575c28138

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 KB

Contents

version: v1.0
name: Semaphore v2 tests
agent:
  machine:
    type: e1-standard-2
    os_image: ubuntu2004
auto_cancel:
  running:
    when: branch != 'master'
global_job_config:
  prologue:
    commands:
      - checkout
      - sem-version ruby $RUBY_VERSION -f
      - gem update --system
      - bundle config set --local path 'vendor/bundle'
      - cache restore bundle-$RUBY_VERSION-$SEMAPHORE_GIT_BRANCH-$SEMAPHORE_WORKFLOW_ID,bundle-$RUBY_VERSION-$SEMAPHORE_GIT_BRANCH,bundle-$RUBY_VERSION-master
      - bundle install
      - bundle clean --force
      - cache store bundle-$RUBY_VERSION-$SEMAPHORE_GIT_BRANCH-$SEMAPHORE_WORKFLOW_ID vendor/bundle
  secrets:
    - name: bundler-global
blocks:
  - name: Semaphore v2 tests
    dependencies: []
    execution_time_limit:
      minutes: 30
    task:
      jobs:
        - name: Tests
          matrix:
            - env_var: RUBY_VERSION
              values: ["2.7", "3.0"]
          commands:
            - bundle exec rspec
  - name: Semaphore v2 Compliance
    dependencies: []
    skip:
      when: branch = 'master'
    execution_time_limit:
      minutes: 10
    task:
      jobs:
        - name: Rubocop
          commands:
            - bundle exec rubocop
      env_vars:
        - name: RUBY_VERSION
          value: 2.6.5

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flip_fab-1.0.18 .semaphore/semaphore.yml
flip_fab-1.0.17 .semaphore/semaphore.yml
flip_fab-1.0.16 .semaphore/semaphore.yml