Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Example Tests
# This workflow runs tests for the DevExpress Angular Report Designer frontend.

on:
push:
branches:
- '[0-9]+.[0-9]+.[0-9]+\+' # Matches xx.x.x+ pattern
pull_request:
branches:
- '[0-9]+.[0-9]+.[0-9]+\+' # Matches xx.x.x+ pattern
workflow_dispatch: # Allows manual triggering

env:
NODE_VERSION: '20'
DOTNET_VERSION: '8.0.x'

jobs:
test:
runs-on: windows-latest
timeout-minutes: 5

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
cache-dependency-path: |
package-lock.json

- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable

- name: Run Tests
run: |
$exitCode = pwsh -ExecutionPolicy Bypass -File test/main-test.ps1
Write-Host "Test script exit code: $exitCode"
if ($exitCode -ne 0) {
Write-Error "❌ Tests failed with exit code: $exitCode"
exit $exitCode
}
Write-Host "✅ Tests passed successfully"
timeout-minutes: 5
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @DevExpressExampleBot
1 change: 0 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!-- default badges list -->
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128596902/24.2.1%2B)
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T566422)
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
Expand Down
Loading
Loading