Skip to content

Commit

Permalink
ci(gorgone): fix unit tests
Browse files Browse the repository at this point in the history
Refs:MON-106121
  • Loading branch information
Evan-Adam committed Nov 25, 2024
1 parent 14f681b commit 0a05a75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gorgone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
if: failure()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: plugin-installation-${{ matrix.distrib }}
name: centreon-collect-perl-unit-tests-${{ matrix.distrib }}
path: ./lastlog.jsonl
retention-days: 1

Expand Down
8 changes: 7 additions & 1 deletion gorgone/tests/unit/class/core.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/perl

package centreon::common::centreonvault;
sub get_secret;
sub new;

package main;

use strict;
use warnings;

Expand All @@ -10,7 +17,6 @@ use FindBin;
use lib "$FindBin::Bin/../../../";
use gorgone::class::script;
use gorgone::class::core;
use centreon::common::centreonvault;

sub create_data_set {
my $set = {};
Expand Down

0 comments on commit 0a05a75

Please sign in to comment.