Hello There, need your help. I am already find the solution and seems it’s not works.
So the problem was like this :
I have a project with have different branch, eg : branch feature, master, develop. All i need to do is I want to run testing in circle using fastlane only in develop branch. How can i configure condition like that?
I am success to separated it deployment section in circle.yml, but it seems wrong because it would detect build failed once it’s had failed test. So i decided put in test section, but how can i config the test only run in specific branch?
This is my circle.yml
- fastlane test
- mkdir -p $CIRCLE_TEST_REPORTS/junit && cat fastlane/test_output/report.junit > $CIRCLE_TEST_REPORTS/junit/report.xml
- mkdir $CIRCLE_ARTIFACTS/html
- mv fastlane/test_output/report.html $CIRCLE_ARTIFACTS/html
branch: [develop, /feature/.*/]
- fastlane devel
branch: [/hotfix/./, /release/./]
- fastlane beta