Sha256: 238f260fe2e54be5ad89b24f2208ebf0e7873ece91479d47241ef8f6409b9638
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 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: Create screenshots folder run: mkdir -p allure-results/screenshots - name: Prepare the browser options run: raider utility browser_options headless no-sandbox window-size=1920,1080 - 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.8.2 | lib/generators/actions/templates/actions.tt |