-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run E2E tests on windows runners (#1241)
- Loading branch information
1 parent
82d08ac
commit 851bfdb
Showing
12 changed files
with
177 additions
and
99 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: shared matrix | ||
on: | ||
workflow_call: | ||
# Map the workflow outputs to job outputs | ||
outputs: | ||
os: | ||
value: ${{ jobs.define-matrix.outputs.os }} | ||
python: | ||
value: ${{ jobs.define-matrix.outputs.python }} | ||
|
||
jobs: | ||
define-matrix: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
os: ${{ steps.os.outputs.os }} | ||
python: ${{ steps.python.outputs.python }} | ||
steps: | ||
- name: Define OS versions | ||
id: os | ||
run: | | ||
if [ "${{ github.event_name }}" = "schedule" ]; then | ||
echo 'os=["windows-latest", "ubuntu-latest", "macos-latest"]' >> "$GITHUB_OUTPUT" | ||
else | ||
echo 'os=["windows-latest", "ubuntu-latest"]' >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Define python versions | ||
id: python | ||
run: | | ||
if [ "${{ github.event_name }}" = "schedule" ]; then | ||
echo 'python=["3.8", "3.9", "3.10", "3.11", "3.12"]' >> "$GITHUB_OUTPUT" | ||
else | ||
# Last supported and most frequently used | ||
echo 'python=["3.8", "3.10"]' >> "$GITHUB_OUTPUT" | ||
fi |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# serializer version: 1 | ||
# name: test_corrupted_config_in_default_location | ||
''' | ||
╭─ Error ──────────────────────────────────────────────────────────────────────╮ | ||
│ Configuration file seems to be corrupted. Key "demo" already exists. at line │ | ||
│ 2 col 18 │ | ||
╰──────────────────────────────────────────────────────────────────────────────╯ | ||
+- Error ----------------------------------------------------------------------+ | ||
| Configuration file seems to be corrupted. Key "demo" already exists. at line | | ||
| 2 col 18 | | ||
+------------------------------------------------------------------------------+ | ||
|
||
''' | ||
# --- |
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
Oops, something went wrong.