Skip to content

Commit 833212a

Browse files
revert main.yaml. Move to codegen pipeline
1 parent 164ac0b commit 833212a

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.github/workflows/codegen-validation.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ jobs:
4343
}
4444
4545
Write-Host "Code generation completed successfully!"
46+
47+
- name: Run codegen visitor tests
48+
run: dotnet test codegen/generator/test/
49+
--configuration Release
50+
--logger "trx;LogFilePrefix=codegen"
51+
--results-directory ${{github.workspace}}/artifacts/test-results
52+
${{ env.version_suffix_args}}
4653

4754
- name: Check for uncommitted changes
4855
run: |
@@ -64,4 +71,11 @@ jobs:
6471
exit 1
6572
fi
6673
67-
echo "No uncommitted changes detected - code generation is up to date!"
74+
echo "No uncommitted changes detected - code generation is up to date!"
75+
76+
- name: Upload artifacts
77+
uses: actions/upload-artifact@v4
78+
if: ${{ !cancelled() }}
79+
with:
80+
name: build-artifacts
81+
path: ${{github.workspace}}/artifacts

.github/workflows/main.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,10 @@ jobs:
4343
--logger "trx;LogFilePrefix=smoke"
4444
--results-directory ${{github.workspace}}/artifacts/test-results
4545
${{ env.version_suffix_args}}
46-
47-
- name: Run codegen visitor tests
48-
run: dotnet test codegen/generator/test/
49-
--configuration Release
50-
--logger "trx;LogFilePrefix=codegen"
51-
--results-directory ${{github.workspace}}/artifacts/test-results
52-
${{ env.version_suffix_args}}
5346

54-
- name: Upload artifacts
47+
- name: Upload artifact
5548
uses: actions/upload-artifact@v4
5649
if: ${{ !cancelled() }}
5750
with:
5851
name: build-artifacts
59-
path: ${{github.workspace}}/artifacts
52+
path: ${{github.workspace}}/artifacts

0 commit comments

Comments
 (0)