Move mmctl CI tests to free tier (#24899)

Only the -race tests in master branch takes
more memory. So it will take more time, but there's no
need to optimize run time in master as nobody
is waiting for it to complete.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2023-10-13 21:09:36 +05:30
коммит произвёл GitHub
родитель a4754181f9
Коммит bd982356a7

4
.github/workflows/mmctl-test-template.yml поставляемый
Просмотреть файл

@@ -19,7 +19,7 @@ env:
jobs: jobs:
test: test:
name: ${{ inputs.name }} name: ${{ inputs.name }}
runs-on: ubuntu-latest-8-cores runs-on: ubuntu-22.04
env: env:
COMPOSE_PROJECT_NAME: ghactions COMPOSE_PROJECT_NAME: ghactions
BUILD_IMAGE: mattermost/mattermost-build-server:20230904_golang-1.20.7 BUILD_IMAGE: mattermost/mattermost-build-server:20230904_golang-1.20.7
@@ -49,7 +49,7 @@ jobs:
- name: Run mmctl Tests - name: Run mmctl Tests
run: | run: |
if [[ ${{ github.ref_name }} == 'master' ]]; then if [[ ${{ github.ref_name }} == 'master' ]]; then
export TESTFLAGS="-timeout 30m -race" export TESTFLAGS="-timeout 90m -race"
else else
export TESTFLAGS="-timeout 30m" export TESTFLAGS="-timeout 30m"
fi fi