mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
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.
This commit is contained in:
committed by
Dan Christian Bogos
parent
db5c6cc4b9
commit
5bea63841b
@@ -13,7 +13,7 @@
|
||||
mode: "u=rwx,go=rx"
|
||||
owner: "{{ ansible_user }}"
|
||||
dest: "{{ cgrates_dir }}"
|
||||
when: clone_repository
|
||||
when: "clone_repository|bool"
|
||||
|
||||
- name: Git clone cgrates
|
||||
ansible.builtin.git:
|
||||
@@ -22,7 +22,7 @@
|
||||
update: yes
|
||||
force: yes
|
||||
version: "{{ git_version }}"
|
||||
when: clone_repository
|
||||
when: "clone_repository|bool"
|
||||
|
||||
- name: Build cgrates
|
||||
ansible.builtin.command:
|
||||
|
||||
@@ -54,4 +54,4 @@
|
||||
src: "{{ nats_install_dir }}/nats-server-v{{ nats_version }}-linux-amd64/nats-server"
|
||||
dest: /usr/local/bin/nats-server
|
||||
state: link
|
||||
when: add_nats_to_path
|
||||
when: "add_nats_to_path|bool"
|
||||
|
||||
Reference in New Issue
Block a user