diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3cf0d280..d70f3b96 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -117,92 +117,6 @@ jobs: - name: Check workability of benchmark tests run: make bench-deps bench DURATION=1x COUNT=1 - run-tests-ee: - # The same as for run-tests-ce, but it does not run on pull requests from - # forks and on forks by default. Tests from forks will run only when the - # pull request is labeled with `full-ci`. To avoid security problems, the - # label must be reset manually for every run. - # - # We need to use `pull_request_target` because it has access to base - # repository secrets unlike `pull_request`. - if: | - github.repository == 'tarantool/go-tarantool' && - (github.event_name == 'push' || - (github.event_name == 'pull_request_target' && - github.event.pull_request.head.repo.full_name != github.repository && - github.event.label.name == 'full-ci')) || - github.event_name == 'workflow_dispatch' - - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - sdk-path: - - 'release/linux/x86_64/1.10/' - sdk-version: - - 'sdk-1.10.15-0-r598' - coveralls: [false] - fuzzing: [false] - include: - - sdk-path: 'release/linux/x86_64/2.10/' - sdk-version: 'sdk-gc64-2.10.8-0-r598.linux.x86_64' - coveralls: false - - sdk-path: 'release/linux/x86_64/2.11/' - sdk-version: 'sdk-gc64-2.11.1-0-r598.linux.x86_64' - coveralls: true - - steps: - - name: Clone the connector - # `ref` as merge request is needed for pull_request_target because this - # target runs in the context of the base commit of the pull request. - uses: actions/checkout@v3 - if: github.event_name == 'pull_request_target' - with: - ref: refs/pull/${{ github.event.pull_request.number }}/merge - - - name: Clone the connector - if: github.event_name != 'pull_request_target' - uses: actions/checkout@v3 - - - name: Setup Tarantool ${{ matrix.sdk-version }} - run: | - ARCHIVE_NAME=tarantool-enterprise-${{ matrix.sdk-version }}.tar.gz - curl -O -L https://${{ secrets.SDK_DOWNLOAD_TOKEN }}@download.tarantool.io/enterprise/${{ matrix.sdk-path }}${ARCHIVE_NAME} - tar -xzf ${ARCHIVE_NAME} - rm -f ${ARCHIVE_NAME} - - - name: Setup golang for the connector and tests - uses: actions/setup-go@v3 - with: - go-version: 1.13 - - - name: Install test dependencies - run: | - source tarantool-enterprise/env.sh - make deps - - - name: Run regression tests - run: | - source tarantool-enterprise/env.sh - make test - make testrace - - - name: Run fuzzing tests - if: ${{ matrix.fuzzing }} - run: make fuzzing TAGS="go_tarantool_decimal_fuzzing" - - - name: Run tests, collect code coverage data and send to Coveralls - if: ${{ matrix.coveralls }} - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - source tarantool-enterprise/env.sh - make coveralls - - - name: Check workability of benchmark tests - run: make bench-deps bench DURATION=1x COUNT=1 - testing_mac_os: # We want to run on external PRs, but not on our own internal # PRs as they'll be run by the push to the branch.