mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Removed obsolete logic from screenshots workflow.
The id was used when we attempted to update comments in an early version of the feature. Also removed the job summary as it doesn't have the value that it did in the original version of the feature.
This commit is contained in:
parent
f92ac845a9
commit
956f6610ec
8
.github/workflows/screenshots.yml
vendored
8
.github/workflows/screenshots.yml
vendored
@ -30,14 +30,10 @@ jobs:
|
|||||||
- name: Install and upgrade packaging tools
|
- name: Install and upgrade packaging tools
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- run: python -m pip install -r tests/requirements/py3.txt -e .
|
- run: python -m pip install -r tests/requirements/py3.txt -e .
|
||||||
|
|
||||||
- name: Run Selenium tests with screenshots
|
- name: Run Selenium tests with screenshots
|
||||||
id: generate-screenshots
|
|
||||||
working-directory: ./tests/
|
working-directory: ./tests/
|
||||||
run: |
|
run: python -Wall runtests.py --verbosity=2 --noinput --selenium=chrome --headless --screenshots --settings=test_sqlite --parallel=2
|
||||||
python -Wall runtests.py --verbosity 2 --noinput --selenium=chrome --headless --screenshots --settings=test_sqlite --parallel 2
|
|
||||||
echo "date=$(date)" >> $GITHUB_OUTPUT
|
|
||||||
echo "🖼️ **Screenshots created**" >> $GITHUB_STEP_SUMMARY
|
|
||||||
echo "Generated screenshots for ${{ github.event.pull_request.head.sha }} at $(date)" >> $GITHUB_STEP_SUMMARY
|
|
||||||
|
|
||||||
- name: Upload screenshots
|
- name: Upload screenshots
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user