fix: update shard names for GH tests
Github hosted tests weren't working because shards were not up to date.
This commit is contained in:
35
.github/workflows/unit-tests-gh-hosted.yml
vendored
35
.github/workflows/unit-tests-gh-hosted.yml
vendored
@@ -17,23 +17,24 @@ jobs:
|
||||
python-version: [ '3.8' ]
|
||||
django-version:
|
||||
- "pinned"
|
||||
shard_name: [
|
||||
"lms-1",
|
||||
"lms-2",
|
||||
"lms-3",
|
||||
"lms-4",
|
||||
"lms-5",
|
||||
"lms-6",
|
||||
"openedx-1",
|
||||
"openedx-2",
|
||||
"openedx-3",
|
||||
"openedx-4",
|
||||
"cms-1",
|
||||
"cms-2",
|
||||
"common-1",
|
||||
"common-2",
|
||||
"common-3",
|
||||
]
|
||||
# When updating the shards, remember to make the same changes in
|
||||
# .github/workflows/unit-tests.yml
|
||||
shard_name:
|
||||
- "lms-1"
|
||||
- "lms-2"
|
||||
- "lms-3"
|
||||
- "lms-4"
|
||||
- "lms-5"
|
||||
- "lms-6"
|
||||
- "openedx-1"
|
||||
- "openedx-2"
|
||||
- "openedx-3"
|
||||
- "openedx-4"
|
||||
- "cms-1"
|
||||
- "cms-2"
|
||||
- "common-1"
|
||||
- "common-2"
|
||||
- "xmodule-1"
|
||||
name: gh-hosted-python-${{ matrix.python-version }},django-${{ matrix.django-version }},${{ matrix.shard_name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
@@ -18,6 +18,8 @@ jobs:
|
||||
django-version:
|
||||
- "pinned"
|
||||
#- "4.0"
|
||||
# When updating the shards, remember to make the same changes in
|
||||
# .github/workflows/unit-tests-gh-hosted.yml
|
||||
shard_name:
|
||||
- "lms-1"
|
||||
- "lms-2"
|
||||
|
||||
Reference in New Issue
Block a user