Skip to content

Commit

Permalink
Merge pull request #1006 from amvanbaren/test-smoketest
Browse files Browse the repository at this point in the history
Fix read version
  • Loading branch information
amvanbaren authored Oct 2, 2024
2 parents 3ac471f + 44317db commit 9349781
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
read -r line < ./open-vsx.org/Dockerfile
version="${line:19}"
echo "version='${line:19}'" >> "$GITHUB_OUTPUT"
echo "version=${line:19}" >> "$GITHUB_OUTPUT"
- name: Wait 10 minutes for deployment
# run: sleep 10m
run: sleep 30s
Expand All @@ -49,11 +49,11 @@ jobs:
echo "read version: ${{ steps.read_version.outputs.version }}"
echo "is_version=${{ steps.running_version.outputs.status == 200 && fromJson(steps.running_version.outputs.response).version == steps.read_version.outputs.version }}" >> "$GITHUB_OUTPUT"
- name: Run Playwright tests
if: steps.check_version.outputs.is_version
if: steps.check_version.outputs.is_version == true
working-directory: ./openvsx/webui
run: yarn smoke-tests
- uses: actions/upload-artifact@v4
if: steps.check_version.outputs.is_version
if: steps.check_version.outputs.is_version == true
with:
name: playwright-report
path: openvsx/webui/playwright-report/
Expand Down

0 comments on commit 9349781

Please sign in to comment.