Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allura report action not supporting Mac OS #28

Open
neerajkumarlad opened this issue May 20, 2022 · 3 comments
Open

Allura report action not supporting Mac OS #28

neerajkumarlad opened this issue May 20, 2022 · 3 comments

Comments

@neerajkumarlad
Copy link

I have followed given link steps (https://github.com/simple-elf/allure-report-action) and found that i am getting error stating that "Error: Container action is only supported on Linux"

Here is the screenshot :

Screenshot 2022-05-20 at 10 45 27 AM

@simple-elf Can u help me?

@Artem034
Copy link

Same here #12

@Artem034
Copy link

Artem034 commented May 27, 2022

For generation report, you can use the ubuntu image and download artifact:

jobs:
  tests:
    runs-on: mac-os
    name: Run tests
    steps:
      .....run tests

      - name: Upload artifact
        if: always()
        uses: actions/upload-artifact@master
        with:
          name: allure-results
          path: build/allure-results
          retention-days: 30

  generate_report:
    name: Allure report & notification
    runs-on: ubuntu-latest
    if: always()
    needs: [ tests ]
    steps:
      - name: Download Artifacts 🔻
        uses: actions/download-artifact@v3
        id: download
        with:
          name: allure-results
          path: allure-results

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

      - name: Allure Report action from marketplace
        uses: simple-elf/allure-report-action@master
        if: always()
        with:
          allure_results: allure-results
          allure_report: ${{ github.run_number }}
          gh_pages: gh-pages
          allure_history: /allure-history

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

      - name: Slack Notification
        uses: rtCamp/action-slack-notify@v2
        if: always()
        env:
          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
          SLACK_COLOR: ${{ needs.tests.result }}
          SLACK_USERNAME: NotificationBot
          SLACK_TITLE: Allure report
          SLACK_MESSAGE: url to GH pages
          MSG_MINIMAL: event,actions url,commit

@mgrybyk
Copy link

mgrybyk commented Jan 31, 2024

@Artem034 @neerajkumarlad see also #44 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants