mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
Run dispatcher tests separately in workflow until fixed
Removed dispatchers from testable integration packages inside script. Add back once its unstable tests are fixed.
This commit is contained in:
committed by
Dan Christian Bogos
parent
1150290640
commit
225b7d058d
10
.github/workflows/integration_tests.yaml
vendored
10
.github/workflows/integration_tests.yaml
vendored
@@ -57,10 +57,18 @@ jobs:
|
||||
sudo env "PATH=$PATH" ./flaky_test.sh
|
||||
|
||||
- name: Run unstable offline tests for *internal separately until fixed
|
||||
continue-on-error: true
|
||||
continue-on-error: true
|
||||
run: |
|
||||
sudo env "PATH=$PATH" go test github.com/cgrates/cgrates/apier/v1 -tags=offline -dbtype=*internal
|
||||
|
||||
- name: Run dispatcher tests separately until its unstable tests are fixed
|
||||
continue-on-error: true
|
||||
run: |
|
||||
sudo env "PATH=$PATH" go test github.com/cgrates/cgrates/dispatchers -tags=integration -dbtype=*internal
|
||||
sudo env "PATH=$PATH" go test github.com/cgrates/cgrates/dispatchers -tags=integration -dbtype=*mysql
|
||||
sudo env "PATH=$PATH" go test github.com/cgrates/cgrates/dispatchers -tags=integration -dbtype=*mongo
|
||||
sudo env "PATH=$PATH" go test github.com/cgrates/cgrates/dispatchers -tags=integration -dbtype=*postgres
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
sudo env "PATH=$PATH" ./integration_test.sh
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
# Example:
|
||||
# ./integration_test.sh -dbtype=*mysql -rpc=*gob
|
||||
|
||||
packages=("agents" "apier/v1" "apier/v2" "dispatchers" "engine" "ers" "loaders" "general_tests" "sessions")
|
||||
# Temporarily skip dispatcher tests until its unstable tests are fixed
|
||||
packages=("agents" "apier/v1" "apier/v2" "engine" "ers" "loaders" "general_tests" "sessions")
|
||||
dbtypes=("*internal" "*mysql" "*mongo" "*postgres")
|
||||
|
||||
# Tests that are independent of the dbtype flag and run only once
|
||||
|
||||
Reference in New Issue
Block a user