diff --git a/.github/workflows/go.yml b/.github/workflows/ci.yml similarity index 95% rename from .github/workflows/go.yml rename to .github/workflows/ci.yml index 354918946..5b3640745 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/ci.yml @@ -36,15 +36,12 @@ jobs: - name: Check out source code uses: actions/checkout@v4 - - name: Unit tests - run: make test - - name: Start dependencies run: make deps-start - name: Running CI run: | - sleep 0 + sleep 30 make ci - name: Convert coverage file to lcov @@ -71,4 +68,3 @@ jobs: - name: Stop dependencies run: make deps-stop - \ No newline at end of file diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml deleted file mode 100644 index a0eda82dd..000000000 --- a/.github/workflows/e2e.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: E2E -# on: -# push: -# branches: -# - master -# pull_request: -jobs: - build: - name: E2E - runs-on: ubuntu-latest - steps: - - name: Check out source code - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - - name: Starting dependencies - run: | - docker-compose up -d - sleep 10 - working-directory: ./examples/ - - - name: Starting service - run: | - docker ps -a - go build . - nohup ./service & - working-directory: ./examples/service - - - name: Starting client - run: | - sleep 10 - go run main.go - working-directory: ./examples/client