Skip to content
Snippets Groups Projects
Commit b7f4c516 authored by Saralegui Vallejo, Unai's avatar Saralegui Vallejo, Unai
Browse files

add execution also on main (new default branch name that replaces master)

parent 617a2595
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ base:
# run only when new tag is published or changes pushed to master
- tags
- master
- main
script:
- pip install virtualenv # install virtualenv to create a virtual environment to install required packages
......
......@@ -8,6 +8,7 @@ virtualenv:
# run only when new tag is published or changes pushed to master
- tags
- master
- main
script:
- source $VIRTUALENV_NAME/bin/activate
- pip install -r requirements.txt --extra-index-url $ACR_PYPI_INDEX_URL # install required packages look also in artifactory
......@@ -18,3 +18,4 @@ pages:
# run only when new tag is published or changes pushed to master
- tags
- master
- main
......@@ -17,6 +17,7 @@ pylint:
# run only when new tag is published or changes pushed to master
- tags
- master
- main
artifacts:
paths:
......
......@@ -7,6 +7,7 @@ test:
# run only when new tag is published or changes pushed to master
- tags
- master
- main
script:
# run test files in tests folder
- source $VIRTUALENV_NAME/bin/activate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment