Sha256: e5f551652e3bf902e5a628926bd6321204a6b6de9aa9a244fac9c931d7a6fdeb

Contents?: true

Size: 1.55 KB

Versions: 27

Compression:

Stored size: 1.55 KB

Contents

name: <%- if framework == 'cucumber' -%>Cucumber Tests<%- else -%>Rspec Tests<%- end -%>

on:
  workflow_dispatch:
    inputs:
      browser:
        type: choice
        description: Which browser to test
        required: true
        options:
          - chrome

jobs:
  build:
    name: CI
    runs-on: ubuntu-latest

    steps:
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.1.0
          bundler-cache: true

      - name: Checkout repository
        uses: actions/checkout@v3

      - name: Install gems
        run: bundle install

      - name: Create allure-results folder
        run: mkdir -p allure-results

      - name: Build and test with rspec
        run: <%- if framework == 'cucumber' -%>cucumber features --format pretty <%- else -%>bundle exec rspec spec --format documentation<%- end -%>

      - name: Get Allure history
        uses: actions/checkout@v2
        if: always()
        continue-on-error: true
        with:
          ref: gh-pages
          path: gh-pages

      - name: Allure Report
        uses: simple-elf/allure-report-action@master
        if: always()
        id: allure-report
        with:
          allure_results: allure-results
          gh_pages: gh-pages
          allure_report: allure-report
          allure_history: allure-history

      - name: Deploy report to Github Pages
        if: always()
        uses: peaceiris/actions-gh-pages@v2
        env:
          PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          PUBLISH_BRANCH: gh-pages
          PUBLISH_DIR: allure-history

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby_raider-1.1.1 lib/generators/actions/templates/actions.tt
ruby_raider-1.1.0 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.9 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.8 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.7 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.6 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.5 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.4 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.3 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.2 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.1 lib/generators/actions/templates/actions.tt
ruby_raider-1.0.0 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.9 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.8 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.7 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.6 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.5 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.4 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.3 lib/generators/actions/templates/actions.tt
ruby_raider-0.9.2 lib/generators/actions/templates/actions.tt