Skip to content

Commit

Permalink
Merge pull request #19 from storyprotocol/feat/push_individual_artifacts
Browse files Browse the repository at this point in the history
[feat] push individual artifacts
  • Loading branch information
AndyBoWu authored Apr 2, 2024
2 parents ab87f2e + 4bcc2b9 commit ebc9db8
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
continue-on-error: true
run: |
echo "Load environment variables"
touch .env.sepolia
echo API_BASE_URL=${{ secrets.API_BASE_URL }} >> .env.sepolia
rm .env.sepolia && touch .env.sepolia
echo API_BASE_URL=${{ secrets.API_BASE_URL }} > .env.sepolia
echo API_PREFIX=${{ secrets.API_PREFIX_SEPOLIA }} >> .env.sepolia
echo API_KEY=${{ secrets.API_KEY }} >> .env.sepolia
test_env=sepolia npx playwright test
Expand All @@ -58,8 +58,8 @@ jobs:
continue-on-error: true
run: |
echo "Load environment variables"
touch .env.renaissance
echo API_BASE_URL=${{ secrets.API_BASE_URL }} >> .env.renaissance
rm .env.renaissance && touch .env.renaissance
echo API_BASE_URL=${{ secrets.API_BASE_URL }} > .env.renaissance
echo API_PREFIX=${{ secrets.API_PREFIX_RENAISSANCE }} >> .env.renaissance
echo API_KEY=${{ secrets.API_KEY }} >> .env.renaissance
test_env=renaissance npx playwright test
Expand Down Expand Up @@ -95,8 +95,17 @@ jobs:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

- name: Upload Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
# if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
name: test-results
path: ./playwright-report-*/index.html
name: sepolia-test-reports
path: |
./playwright-report-sepolia/index.html
- name: Upload Test Results
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
# if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
name: renaissance-test-reports
path: |
./playwright-report-renaissance/index.html

0 comments on commit ebc9db8

Please sign in to comment.