mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 19:56:38 +05:00
Update github workflows
In the integration_tests one, go is now installed using actions, therefore the ansible go installation will be skipped.
This commit is contained in:
committed by
Dan Christian Bogos
parent
47198a994b
commit
84caf3f0b4
8
.github/workflows/integration_tests.yaml
vendored
8
.github/workflows/integration_tests.yaml
vendored
@@ -29,6 +29,11 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.21.0"
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
@@ -41,11 +46,10 @@ jobs:
|
||||
|
||||
- name: Run Ansible Playbook
|
||||
run: |
|
||||
ansible-playbook data/ansible/integration_tests/main.yaml -i localhost, -c local -e "ansible_user=$(whoami) cgrates_dir=$GITHUB_WORKSPACE clone_repository=false"
|
||||
ansible-playbook data/ansible/integration_tests/main.yaml -i localhost, -c local -e "ansible_user=$(whoami) cgrates_dir=$GITHUB_WORKSPACE clone_repository=false install_go=false"
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
sudo su <<EOF
|
||||
source /etc/profile
|
||||
./integration_test.sh
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user