Skip to content

Commit

Permalink
fix: Removing test app from CI/CD
Browse files Browse the repository at this point in the history
Also:
- Adding the example app to the CI/CD
  • Loading branch information
gcarreno committed Sep 25, 2023
1 parent f1b6d78 commit 18b8675
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:
lazarus-version: ${{ matrix.lazarus-versions }}
with-cache: false

- name: Build Test App
run: lazbuild -B "tests/polykermatests.lpi"
- name: Build Example App
run: lazbuild -B --bm=Release "examples/CLI/polykermacli.lpi"

- name: Run Tests
run: bin/polykermatests --all --format=plain
# - name: Build Test App
# run: lazbuild -B --bem=Release "tests/polykermatests.lpi"

# - name: Run Tests
# run: bin/polykermatests --all --format=plain

# - name: Build the Main App (Windows)
# if: ${{ matrix.operating-system == 'windows-latest' }}
Expand Down
3 changes: 2 additions & 1 deletion tests/messages/polykerma.test.messages.pas
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ interface
, fpcunit
//, testutils
, testregistry
, PolyKerma.Dispatcher.Common
, PolyKerma.Messages.Interfaces
, PolyKerma.Messages.Message
;
Expand All @@ -29,7 +30,7 @@ implementation

procedure TTestMessages.TestMessageCreate;
begin
FMessage:= TInterfacedMessage.Create;
FMessage:= TInterfacedMessage.Create(cDispatcherChannelModuleIn);
AssertNotNull('Message not null', FMessage);
end;

Expand Down

0 comments on commit 18b8675

Please sign in to comment.