Commit Graph

10279 Commits

Author SHA1 Message Date
DanB
14e3c92cc9 Adding hosts sample ansible inventory for deb_packages 2023-08-09 16:03:29 +02:00
ionutboangiu
06cebec008 Update libraries 2023-08-09 15:30:27 +02:00
ionutboangiu
0447e481ff Update it workflow to run tests for PR version of the repo
Before it was running the tests for the latest commit on the main repo instead
of running them for the PR version of it.
2023-08-09 15:30:27 +02:00
ionutboangiu
fad94ebe5c Add variable to cgrates role to decide whether to clone the repo
Sometimes we want to use the already existing repo without overwriting. Defaults to true (will
clone).
2023-08-09 15:30:27 +02:00
ionutboangiu
e887ad7479 Bump go version 2023-08-09 15:30:27 +02:00
ionutboangiu
d1dac1bef6 Replace deprecated ioutil package 2023-08-09 15:30:27 +02:00
NikolasPetriti
6779cdf533 Add coverage tests for engine 2023-08-09 13:42:30 +02:00
NikolasPetriti
e90ef030d1 Add coverage tests for engine 2023-08-09 13:42:30 +02:00
gezimbll
8db9d6ca4d Added multiple filters for exportcdrs apis tests 2023-08-08 17:14:36 +02:00
gezimbll
457ab9a3c6 Renaming to filterids field on exportcdrs 2023-08-08 17:14:36 +02:00
gezimbll
bb9d32c5b6 Updated installation docs 2023-08-08 17:14:36 +02:00
gezimbll
f18c118cb0 Adding FiltersID field for ExportCdrs api 2023-08-08 17:14:36 +02:00
NikolasPetriti
16340546c9 Add coverage tests for engine 2023-08-07 17:19:54 +02:00
NikolasPetriti
7b016eef3b Add coverage tests for engine 2023-08-07 11:42:27 +02:00
NikolasPetriti
4c544f427c Add coverage tests for models.go and model_helpers.go 2023-08-07 11:42:27 +02:00
NikolasPetriti
9079248d4e Add coverage tests for model_helpers.go 2023-08-07 11:42:27 +02:00
NikolasPetriti
d284828496 Add coverage tests for model_helpers.go 2023-08-02 16:50:10 +02:00
NikolasPetriti
708302e753 Format all tests 2023-08-02 16:50:10 +02:00
NikolasPetriti
bb4a944135 Add coverage tests for engine 2023-08-02 16:50:10 +02:00
NikolasPetriti
a67caa6dc2 Add coverage tests for action.go 2023-08-02 16:50:10 +02:00
NikolasPetriti
bf6592a428 Add coverage tests for account.go 2023-08-02 16:50:10 +02:00
NikolasPetriti
5ee077df3d Add coverage tests for engine 2023-08-02 16:50:10 +02:00
NikolasPetriti
bcfd9cb1f9 Add coverage tests for engine 2023-08-02 16:50:10 +02:00
NikolasPetriti
94afae087f Add coverage tests for engine 2023-08-02 16:50:10 +02:00
NikolasPetriti
302cb2aec8 Add coverage tests for eventcost.go 2023-08-02 16:50:10 +02:00
arberkatellari
85f7198424 Make RandomInteger() return int64 2023-07-21 09:02:55 +02:00
NikolasPetriti
36cfcfec26 Add coverage tests for engine 2023-07-21 09:02:30 +02:00
NikolasPetriti
a905707f93 Add coverage tests for engine 2023-07-21 09:02:30 +02:00
NikolasPetriti
84cb2ddd1a Add coverage tests for libeventcost.go 2023-07-21 09:02:30 +02:00
NikolasPetriti
9bef7cdd1f Add coverage tests for engine 2023-07-21 09:02:30 +02:00
ionutboangiu
189e6d5f6c Resolve permission issue in deb_packages playbook 2023-07-21 09:01:46 +02:00
ionutboangiu
2b0be04b5b Bump go version from 1.20.5 to 1.20.6 2023-07-21 09:01:46 +02:00
ionutboangiu
c987c3e72e Execute github actions workflows only on PRs for now
At the moment, the check-if-duplicate-action needs a bit more tinkering, since
it will skip testing other PRs, if the previous one was successful. Another thing
that might need a revision is to make the duplicate checking job be a bit more subtle
and not be visible where it shouldn't be.
2023-07-21 09:01:46 +02:00
ionutboangiu
4fffeeba21 Revise it test to also work when testing entire package 2023-07-21 09:01:46 +02:00
ionutboangiu
90a60c571b Consider the CostDetails cost instead for session rounding test 2023-07-21 09:01:46 +02:00
ionutboangiu
1599ed2a5e Improve accuracy of test to assess return of time.Now() 2023-07-18 16:37:06 +02:00
ionutboangiu
d2fbb0f3d4 Add separate build tag for sessions benchmark 2023-07-18 16:37:06 +02:00
ionutboangiu
392b0c30e0 Fix failing unit tests due to redis dependency 2023-07-18 16:37:06 +02:00
ionutboangiu
8174618f73 Apply gofmt 2023-07-18 16:37:06 +02:00
ionutboangiu
f3428e298d Fix failing test due to tariffplan changes 2023-07-18 16:37:06 +02:00
ionutboangiu
a63aedfc87 Revise migrator test that has been ignored due to incorrect naming 2023-07-18 16:37:06 +02:00
ionutboangiu
0748894d67 Update changelog for v0.10.3 release 2023-07-18 16:37:06 +02:00
ionutboangiu
d7c6afb82a Revert "Revise syntax for the struct tag values pointed out by go vet"
This reverts commit 9c16f9da5a.
Fixing struct tag values is causing some tests to fail. An issue has
been opened internally which talks in depth about the issue.
2023-07-18 16:37:06 +02:00
ionutboangiu
e0c4a4d4a9 Make sure main job executes even if duplicate check somehow fails 2023-07-18 16:37:06 +02:00
ionutboangiu
49bf8abc53 Fix a couple more go vet errors 2023-07-18 16:37:06 +02:00
ionutboangiu
a9e0b9b67d Update job names to be more descriptive, ignore go vet errors 2023-07-18 16:37:06 +02:00
ionutboangiu
ae67776d30 Make sure no loop variables are captured by func literals 2023-07-18 16:37:06 +02:00
ionutboangiu
c7d226f8bb Use a buffered os.Signal channel as argument to signal.Notify
signal.Notify documentation states that:

Package signal will not block sending to c: the caller must ensure that c
has sufficient buffer space to keep up with the expected signal rate. For a
channel used for notification of just one signal value, a buffer of size 1
is sufficient.
2023-07-18 16:37:06 +02:00
ionutboangiu
78077ae454 Make sure errors are logged for flatstore reader 2023-07-18 16:37:06 +02:00
ionutboangiu
f2214052b6 Solve struct literal uses unkeyed fields warning 2023-07-18 16:37:06 +02:00