-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'corpus-dev' into fix-506
- Loading branch information
Showing
85 changed files
with
3,416 additions
and
3,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
shell: bash -elo pipefail {0} | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -53,7 +53,7 @@ jobs: | |
|
||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
shell: bash -elo pipefail {0} | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -70,76 +70,73 @@ jobs: | |
id: tests | ||
run: | | ||
pytest \ | ||
--ignore tests/deploy/ui \ | ||
--junit-xml=test-results.xml \ | ||
--durations=25 | ||
--ignore tests/deploy/ui \ | ||
--junit-xml=test-results.xml \ | ||
--durations=25 | ||
- name: Surface failing tests | ||
if: steps.tests.outcome != 'success' | ||
uses: pmeier/[email protected] | ||
with: | ||
path: test-results.xml | ||
|
||
pytest-ui: | ||
strategy: | ||
# FIXME: the matrix is currently limited due to our UI tests currently only being | ||
# minimal smoke tests. No need to waste CI resources. | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
# - windows-latest | ||
# - macos-latest | ||
browser: | ||
- chromium | ||
# - firefox | ||
python-version: | ||
- "3.10" | ||
# - "3.10" | ||
# - "3.12" | ||
# exclude: | ||
# - python-version: "3.11" | ||
# os: windows-latest | ||
# - python-version: "3.12" | ||
# os: windows-latest | ||
# - python-version: "3.11" | ||
# os: macos-latest | ||
# - python-version: "3.12" | ||
# os: macos-latest | ||
# include: | ||
# - browser: webkit | ||
# os: macos-latest | ||
# python-version: "3.10" | ||
|
||
fail-fast: false | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup environment | ||
uses: ./.github/actions/setup-env | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Run unit tests | ||
id: tests | ||
run: | | ||
pytest tests/deploy/ui \ | ||
--browser ${{ matrix.browser }} \ | ||
--video=retain-on-failure | ||
- name: Upload playwright video | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: | ||
playwright-${{ matrix.os }}-${{ matrix.python-version}}-${{ github.run_id }} | ||
path: test-results | ||
# pytest-ui: | ||
# strategy: | ||
# matrix: | ||
# os: | ||
# - ubuntu-latest | ||
# - windows-latest | ||
# - macos-latest | ||
# browser: | ||
# - chromium | ||
# - firefox | ||
# python-version: | ||
# - "3.10" | ||
# - "3.10" | ||
# - "3.12" | ||
# exclude: | ||
# - python-version: "3.11" | ||
# os: windows-latest | ||
# - python-version: "3.12" | ||
# os: windows-latest | ||
# - python-version: "3.11" | ||
# os: macos-latest | ||
# - python-version: "3.12" | ||
# os: macos-latest | ||
# include: | ||
# - browser: webkit | ||
# os: macos-latest | ||
# python-version: "3.10" | ||
# | ||
# fail-fast: false | ||
# | ||
# runs-on: ${{ matrix.os }} | ||
# | ||
# defaults: | ||
# run: | ||
# shell: bash -elo pipefail {0} | ||
# | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# | ||
# - name: Setup environment | ||
# uses: ./.github/actions/setup-env | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# | ||
# - name: Run unit tests | ||
# id: tests | ||
# run: | | ||
# pytest tests/deploy/ui \ | ||
# --browser ${{ matrix.browser }} \ | ||
# --video=retain-on-failure | ||
# | ||
# - name: Upload playwright video | ||
# if: failure() | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: | ||
# playwright-${{ matrix.os }}-${{ matrix.python-version}}-${{ github.run_id }} | ||
# path: test-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.