From 90847e60e92801c134c40dbdf90211985939ea4d Mon Sep 17 00:00:00 2001 From: Tibz-Dankan Date: Thu, 29 Aug 2024 11:47:34 +0300 Subject: [PATCH] CI/CD: remove unrequired test.yaml file --- .github/workflows/tests.yaml | 48 ------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml deleted file mode 100644 index 0088009..0000000 --- a/.github/workflows/tests.yaml +++ /dev/null @@ -1,48 +0,0 @@ -name: Tests - -on: - push: - branches: - - main - -jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - redis-version: [6, 7] - - env: - APPCRONS_STAG_DSN: ${{ secrets.APPCRONS_STAG_DSN }} - REDIS_URL: redis://127.0.0.1:6379 - - steps: - - name: Start Redis - uses: supercharge/redis-github-action@1.7.0 - with: - redis-version: ${{ matrix.redis-version }} - redis-loglevel: verbose - redis-remove-container: true - - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: "1.23" - - - name: Install dependencies - run: make install - - - name: Run tests - run: make stage # Runs tests in the staging environment - - - name: Trigger deployment - if: success() - run: | - curl -X POST \ - -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/${{ github.repository }}/actions/workflows/deploy-to-render.com.yml/dispatches \ - -d '{"ref": "${{ github.ref_name }}"}'