Skip to content

Commit

Permalink
Add Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaAlRashed committed Nov 2, 2024
1 parent 2277362 commit 795a339
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: .NET Test Pipeline

on:
push:
branches:
- main
- '**' # Runs on all branches

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x' # Adjust if using a different .NET version

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Run tests
run: dotnet Gridazor.Tests --no-build --verbosity normal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
this.renderDropdown(this.options);

// Input event listener for searching
console.log(this.eInput.value)
this.eInput.addEventListener('input', () => this.filterOptions(this.eInput.value));
this.eInput.addEventListener('focus', () => this.showDropdown());

Expand Down Expand Up @@ -119,7 +118,6 @@

var gridazorDropdownHelper = {
valueFormatter: function (params) {
console.log(params)
const option = params.colDef.cellEditorParams.values
.find(opt => opt.value === params.value);

Expand Down
12 changes: 12 additions & 0 deletions Gridazor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Gridazor.Tests", "Gridazor.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Gridazor.Console", "Gridazor.Console\Gridazor.Console.csproj", "{2A9D2F71-EC74-45F2-B37A-BD97C4032E48}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{4F412A88-C76D-42DA-92DB-0642D5059311}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D5C196E7-09EF-4129-9553-41FBA6896E1F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{8F961424-0D4D-4192-9C72-D85C96F7FF1A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -37,6 +43,12 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C202DD9F-A1D0-4F97-A3EB-969D504BE7C6} = {4F412A88-C76D-42DA-92DB-0642D5059311}
{92F85864-E26E-447A-9D5C-3EB84D2BF09A} = {8F961424-0D4D-4192-9C72-D85C96F7FF1A}
{5F6EEAA2-029A-4CBB-86E5-8D4D3D2F4547} = {D5C196E7-09EF-4129-9553-41FBA6896E1F}
{2A9D2F71-EC74-45F2-B37A-BD97C4032E48} = {8F961424-0D4D-4192-9C72-D85C96F7FF1A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {486AFF30-9449-4DC3-927E-314BCE92471A}
EndGlobalSection
Expand Down

0 comments on commit 795a339

Please sign in to comment.