Sha256: 1f394bf8c5fda76c474582de5cbc06729051c877211a077ac92221b4a608b595

Contents?: true

Size: 1.89 KB

Versions: 8

Compression:

Stored size: 1.89 KB

Contents

name: 'CI'

on:
  push:
    branches: [master]
  pull_request: ~
  workflow_dispatch: ~

jobs:
  run-tests:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rubyversion: ['2.6', '2.7', '3.0', '3.1', '3.2']
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.rubyversion }}
          rubygems: '3.0.0'
          bundler-cache: true
      - name: Install Dependencies
        run: make install
      - name: run tests
        run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 make test
      - name: Coveralls
        if: github.ref == 'refs/heads/master'
        uses: coverallsapp/github-action@master
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          path-to-lcov: './coverage/lcov/easypost-ruby.lcov'
  lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.2'
          rubygems: '3.0.0'
          bundler-cache: true
      - name: Install Dependencies
        run: make install
      - name: Install style guides
        run: make install-styleguide
      - name: Lint Project
        run: make lint
  docs:
    if: github.ref == 'refs/heads/master'
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.2'
          rubygems: '3.0.0'
          bundler-cache: true
      - name: Install Dependencies
        run: make install
      - name: Generate Docs
        run: make docs
      - name: Deploy docs
        uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: docs

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
easypost-6.2.0 .github/workflows/ci.yml
easypost-6.1.1 .github/workflows/ci.yml
easypost-6.1.0 .github/workflows/ci.yml
easypost-6.0.0 .github/workflows/ci.yml
easypost-5.3.0 .github/workflows/ci.yml
easypost-5.2.0 .github/workflows/ci.yml
easypost-5.1.1 .github/workflows/ci.yml
easypost-5.1.0 .github/workflows/ci.yml