File tree Expand file tree Collapse file tree 5 files changed +53
-48
lines changed Expand file tree Collapse file tree 5 files changed +53
-48
lines changed Original file line number Diff line number Diff line change 2626 - name : Install Dependencies
2727 run : poetry install --no-interaction --no-root
2828 - name : Install Playwright Browsers
29- run : npx playwright install --with-deps
29+ run : |
30+ PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
31+ npx playwright@$PLAYWRIGHT_VERSION install --with-deps
3032 - name : Test with pytest
3133 run : |
3234 source .venv/bin/activate
4244 if : success()
4345 - name : Store Playwright Traces and Videos From Failed Tests
4446 if : failure()
45- uses : actions/upload-artifact@v4.5 .0
47+ uses : actions/upload-artifact@v4.6 .0
4648 id : artifact-upload-step
4749 with :
4850 name : test-results
Original file line number Diff line number Diff line change 5757 if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
5858 run : poetry install --no-interaction --no-root
5959 - name : Install Playwright Browsers
60- run : npx playwright install --with-deps
60+ run : |
61+ PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
62+ npx playwright@$PLAYWRIGHT_VERSION install --with-deps
6163 - name : Run Tests
6264 run : |
6365 source .venv/bin/activate
6769 --group ${{ matrix.group }}
6870 - name : Upload test results and artifacts
6971 if : always()
70- uses : actions/upload-artifact@v4.5 .0
72+ uses : actions/upload-artifact@v4.6 .0
7173 with :
7274 name : test-results-${{ matrix.group }}
7375 path : |
9294 cp -r $dir/* merged-test-results/
9395 done
9496 - name : Upload Merged Test Results
95- uses : actions/upload-artifact@v4.5 .0
97+ uses : actions/upload-artifact@v4.6 .0
9698 id : merged-artifact-upload
9799 with :
98100 name : merged-test-results
Original file line number Diff line number Diff line change 2424 - id : no-commit-to-branch
2525 args : [ '--branch', 'main' ]
2626 - repo : https://github.com/python-jsonschema/check-jsonschema
27- rev : 0.30.0
27+ rev : 0.31.1
2828 hooks :
2929 - id : check-github-workflows
3030 args : ["--verbose"]
3636 stages : [commit-msg]
3737 args : []
3838 - repo : https://github.com/psf/black
39- rev : 24.10 .0
39+ rev : 25.1 .0
4040 hooks :
4141 - id : black
4242 language_version : python3
5454 ' --ignore-init-module-imports' ,
5555 ]
5656 - repo : https://github.com/PyCQA/isort
57- rev : 5.13.2
57+ rev : 6.0.0
5858 hooks :
5959 - id : isort
6060 args : [ '--settings-file', 'pyproject.toml' ]
6363 hooks :
6464 - id : pyupgrade
6565 - repo : https://github.com/codespell-project/codespell
66- rev : v2.3.0
66+ rev : v2.4.1
6767 hooks :
6868 - id : codespell
6969 additional_dependencies :
Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ axe-playwright-python = "0.1.4"
2121playwright = " 1.49.1"
2222pytest = " 8.3.4"
2323pytest-base-url = " 2.1.0"
24- pytest-playwright = " 0.6.2 "
24+ pytest-playwright = " 0.7.0 "
2525pytest-split = " 0.10.0"
2626python = " ^3.11"
2727requests = " 2.32.3"
2828
2929[tool .poetry .group .dev .dependencies ]
30- black = " 24.10 .0"
31- isort = " 5.13.2 "
32- pre-commit = " 4.0.1 "
30+ black = " 25.1 .0"
31+ isort = " 6.0.0 "
32+ pre-commit = " 4.1.0 "
3333
3434[tool .pytest .ini_options ]
3535addopts = [
You can’t perform that action at this time.
0 commit comments