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