Re-push to test everything with 2 containers per GH Actions machine.

This commit is contained in:
pyth0n1c
2021-12-21 11:00:11 -08:00
parent 9ba7abd0e8
commit 5f972f734f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ jobs:
python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --mode all --mock --config_file test_config_github_actions.json
elif [[ ! -z "${{ github.event.pull_request.head.ref }}" && ! -z "${{ github.event.pull_request.number }}" ]]; then
echo "Pull request from source branch [${{ github.event.pull_request.head.ref }}] for PR number [${{ github.event.issue.number }}]"
python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --pr_number ${{ github.event.pull_request.number }} --mode changes --mock --config_file test_config_github_actions.json
python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --pr_number ${{ github.event.pull_request.number }} --mode all --mock --config_file test_config_github_actions.json
else
echo "Push from branch [${{ steps.vars.outputs.branch }}]"
python detection_testing_execution.py run --branch ${{ steps.vars.outputs.branch }} --mode changes --mock --config_file test_config_github_actions.json
@@ -264,7 +264,7 @@ def finish_mock(settings: dict, detections: list[str], output_file_template: str
mock_settings = copy.deepcopy(settings)
# This may be able to support as many as 2 for GitHub Actions...
# we will have to determine in testing.
mock_settings['num_containers'] = 1
mock_settings['num_containers'] = 2
# Must be selected since we are passing in a list of detections
mock_settings['mode'] = 'selected'