Skip to content

Commit 6a07d24

Browse files
committed
feat: curriculum tests for daily challenges
1 parent b11fe91 commit 6a07d24

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/mobile-curriculum-e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ jobs:
103103

104104
- name: Set freeCodeCamp Environment Variables
105105
working-directory: freeCodeCamp
106-
run: cp sample.env .env
106+
run: |
107+
cp sample.env .env
108+
echo "SHOW_UPCOMING_CHANGES=true" >> .env
107109
108110
- name: Create dummy mobile app .env file
109111
working-directory: mobile/mobile-app

mobile-app/integration_test/test_runner/curriculum_tests.dart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ void main() {
2323
await setupLocator();
2424

2525
List<String> publicSBs = [
26-
'2022/responsive-web-design',
27-
'responsive-web-design',
26+
// '2022/responsive-web-design',
27+
// 'responsive-web-design',
2828
// 'javascript-algorithms-and-data-structures-v8',
2929
// 'javascript-algorithms-and-data-structures',
30-
'the-odin-project',
31-
'full-stack-developer',
30+
// 'the-odin-project',
31+
// 'full-stack-developer',
32+
'dev-playground',
3233

3334
// Python SBs
3435
// 'scientific-computing-with-python',
@@ -216,7 +217,7 @@ void main() {
216217
editorChallengeTypes.add(currChallenge['challengeType']);
217218

218219
// Skip non-editor challenges
219-
if (![0, 1, 5, 6, 14, 25, 26, 20, 23, 27, 29]
220+
if (![0, 1, 5, 6, 14, 20, 23, 25, 26, 27, 28, 29]
220221
.contains(currChallenge['challengeType'])) {
221222
continue;
222223
}

0 commit comments

Comments
 (0)