Skip to content

Commit

Permalink
chore: more test
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Mar 31, 2024
1 parent bffceee commit 6e0c103
Showing 1 changed file with 8 additions and 29 deletions.
37 changes: 8 additions & 29 deletions .github/workflows/visual-comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
path: |
screenshots/
if-no-files-found: error
retention-days: 3
retention-days: 1

- name: Upload Report
uses: actions/upload-artifact@v4
Expand All @@ -81,7 +81,7 @@ jobs:
path: |
playwright-report/
if-no-files-found: error
retention-days: 3
retention-days: 1

- name: Download URLs
run: |
Expand All @@ -99,36 +99,15 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: playwright-report/
destination_dir: ${{ github.sha }}
keep_files: true



# - name: Archive directory with SHA
# run: |
# tar --dereference --hard-dereference \
# --exclude=.git \
# --exclude=.github \
# -cvf visual-assets.tar ${GITHUB_SHA} && ls -ll

# - name: Upload artifact with New Folder Structure
# id: upload-artifact
# uses: actions/upload-artifact@v4
# with:
# name: visual-assets
# path: visual-assets.tar
# retention-days: 3
# if-no-files-found: error

# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4
# with:
# artifact_name: visual-assets



- name: GH Pages URL
run: |
echo "https://spectrocloud.github.io/librarium/${{ github.sha }}/playwright-report/index.html"
echo "https://spectrocloud.github.io/librarium/${{ github.sha }}/index.html"
# echo "https://spectrocloud.github.io/librarium/${{ github.sha }}/playwright-report/index.html"
# echo "https://spectrocloud.github.io/librarium/${{ github.sha }}/index.html"
echo "::notice title=📋 Published Playwright Test Report::https://spectrocloud.github.io/librarium/${{ github.sha }}/index.html"
Expand Down

0 comments on commit 6e0c103

Please sign in to comment.