@@ -18,16 +18,16 @@ jobs:
1818 test-suite : ['unit', 'integration', 'performance']
1919 fail-fast : false
2020 max-parallel : 6
21-
21+
2222 steps :
2323 - name : Checkout code
2424 uses : actions/checkout@v4
2525 with :
2626 submodules : recursive
27-
27+
2828 - name : Set up Docker Buildx
2929 uses : docker/setup-buildx-action@v3
30-
30+
3131 - name : Cache Docker layers
3232 uses : actions/cache@v3
3333 with :
3636 restore-keys : |
3737 ${{ runner.os }}-buildx-${{ matrix.python-version }}-${{ matrix.vim-version }}-
3838 ${{ runner.os }}-buildx-
39-
39+
4040 - name : Build test environment
4141 run : |
4242 docker buildx build \
@@ -48,15 +48,15 @@ jobs:
4848 -f Dockerfile.test-runner \
4949 --load \
5050 .
51-
52- - name : Run Phase 2 dual test suite
51+
52+ - name : Run dual test suite
5353 run : |
5454 # Build the test images first
5555 docker compose -f docker-compose.test.yml build
56-
57- # Run Phase 2 dual testing (both legacy and Vader tests)
58- python scripts/phase2_dual_test_runner .py
59-
56+
57+ # Run dual testing (both legacy and Vader tests)
58+ python scripts/dual_test_runner .py
59+
6060 # Also run the advanced orchestrator for performance metrics
6161 docker run --rm \
6262 -v ${{ github.workspace }}:/workspace:ro \
6666 -e GITHUB_SHA=${{ github.sha }} \
6767 python-mode-test:${{ matrix.python-version }}-${{ matrix.vim-version }} \
6868 python /opt/test_orchestrator.py --parallel 2 --timeout 120
69-
69+
7070 - name : Upload test results
7171 uses : actions/upload-artifact@v4
7272 if : always()
@@ -75,21 +75,21 @@ jobs:
7575 path : |
7676 test-results.json
7777 test-logs/
78- results/phase2-*/
79- results/phase2-*/ *.md
80- results/phase2-*/ *.json
81-
78+ results/
79+ results/*.md
80+ results/*.json
81+
8282 - name : Upload coverage reports
8383 uses : codecov/codecov-action@v3
8484 if : matrix.test-suite == 'unit'
8585 with :
8686 file : ./coverage.xml
8787 flags : python-${{ matrix.python-version }}-vim-${{ matrix.vim-version }}
88-
88+
8989 - name : Basic test validation
9090 run : |
9191 echo "Tests completed successfully"
92-
92+
9393 - name : Move cache
9494 run : |
9595 rm -rf /tmp/.buildx-cache
@@ -99,23 +99,23 @@ jobs:
9999 needs : test
100100 runs-on : ubuntu-latest
101101 if : always()
102-
102+
103103 steps :
104104 - name : Download all artifacts
105105 uses : actions/download-artifact@v4
106-
106+
107107 - name : Generate test report
108108 run : |
109109 python scripts/generate_test_report.py \
110110 --input-dir . \
111111 --output-file test-report.html
112-
112+
113113 - name : Upload test report
114114 uses : actions/upload-artifact@v4
115115 with :
116116 name : test-report
117117 path : test-report.html
118-
118+
119119 - name : Comment PR
120120 if : github.event_name == 'pull_request'
121121 uses : actions/github-script@v7
@@ -128,4 +128,4 @@ jobs:
128128 owner: context.repo.owner,
129129 repo: context.repo.repo,
130130 body: report
131- });
131+ });
0 commit comments