Merge integ_test into test
This commit is contained in:
27
.github/workflows/integ_test.yml
vendored
27
.github/workflows/integ_test.yml
vendored
@@ -1,27 +0,0 @@
|
|||||||
name: Integration Tests
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
integ-test:
|
|
||||||
timeout-minutes: 60
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.12'
|
|
||||||
- name: Install uv
|
|
||||||
run: pip install uv
|
|
||||||
- name: Install Playwright Browsers
|
|
||||||
run: uv run --extra integ_test playwright install --with-deps
|
|
||||||
- name: Run Integration Tests
|
|
||||||
run: uv run --extra integ_test pytest --junitxml=pytest-results.xml integ_tests
|
|
||||||
- uses: mikepenz/action-junit-report@v6
|
|
||||||
if: ${{ failure() && (github.event.pull_request.head.repo.full_name != github.repository) }}
|
|
||||||
with:
|
|
||||||
report_paths: 'pytest-results.xml'
|
|
||||||
annotate_only: true # forked repo cannot write to checks so just do annotations
|
|
||||||
- uses: mikepenz/action-junit-report@v6
|
|
||||||
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
|
|
||||||
with:
|
|
||||||
report_paths: 'pytest-results.xml'
|
|
||||||
25
.github/workflows/test.yml
vendored
25
.github/workflows/test.yml
vendored
@@ -198,3 +198,28 @@ jobs:
|
|||||||
run: pip install tox
|
run: pip install tox
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: tox -c pyproject.toml -e flake8,mypy,isort
|
run: tox -c pyproject.toml -e flake8,mypy,isort
|
||||||
|
|
||||||
|
integ-test:
|
||||||
|
timeout-minutes: 60
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: test-ubuntu-python-newest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
- name: Install uv
|
||||||
|
run: pip install uv
|
||||||
|
- name: Install Playwright Browsers
|
||||||
|
run: uv run --extra integ_test playwright install --with-deps
|
||||||
|
- name: Run Integration Tests
|
||||||
|
run: uv run --extra integ_test pytest --junitxml=pytest-results.xml integ_tests
|
||||||
|
- uses: mikepenz/action-junit-report@v6
|
||||||
|
if: ${{ failure() && (github.event.pull_request.head.repo.full_name != github.repository) }}
|
||||||
|
with:
|
||||||
|
report_paths: 'pytest-results.xml'
|
||||||
|
annotate_only: true # forked repo cannot write to checks so just do annotations
|
||||||
|
- uses: mikepenz/action-junit-report@v6
|
||||||
|
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
|
||||||
|
with:
|
||||||
|
report_paths: 'pytest-results.xml'
|
||||||
|
|||||||
Reference in New Issue
Block a user