|
1 | | -# This workflow will build a .NET project |
2 | | -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net |
| 1 | +# # This workflow will build a .NET project |
| 2 | +# # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net |
3 | 3 |
|
4 | | -name: build_and_test_2 |
| 4 | +# name: build_and_test_2 |
5 | 5 |
|
6 | | -on: |
7 | | - push: |
8 | | - branches: [ "tenants_and_users" ] |
9 | | - pull_request: |
10 | | - branches: [ "tenants_and_users" ] |
| 6 | +# on: |
| 7 | +# push: |
| 8 | +# branches: [ "tenants_and_users" ] |
| 9 | +# pull_request: |
| 10 | +# branches: [ "tenants_and_users" ] |
11 | 11 |
|
12 | | -jobs: |
13 | | - build: |
14 | | - runs-on: ubuntu-latest |
15 | | - services: |
16 | | - docker: |
17 | | - image: docker:27.2.0 |
18 | | - options: --privileged |
19 | | - # ports: |
20 | | - # - 8082:8080 |
21 | | - # - 5435:5432 |
22 | | - # - 15672:15672 |
23 | | - # - 5672:5672 |
24 | | - # - 6379:6379 |
25 | | - # - 6380:6379 |
26 | | - # - 8001:8001 |
27 | | - # - 8004:8004 |
| 12 | +# jobs: |
| 13 | +# build: |
| 14 | +# runs-on: ubuntu-latest |
| 15 | +# services: |
| 16 | +# docker: |
| 17 | +# image: docker:27.2.0 |
| 18 | +# options: --privileged |
| 19 | +# # ports: |
| 20 | +# # - 8082:8080 |
| 21 | +# # - 5435:5432 |
| 22 | +# # - 15672:15672 |
| 23 | +# # - 5672:5672 |
| 24 | +# # - 6379:6379 |
| 25 | +# # - 6380:6379 |
| 26 | +# # - 8001:8001 |
| 27 | +# # - 8004:8004 |
28 | 28 |
|
29 | | - defaults: |
30 | | - run: |
31 | | - working-directory: ./ |
32 | | - steps: |
33 | | - - name: Checkout repo |
34 | | - uses: actions/checkout@v4 |
| 29 | +# defaults: |
| 30 | +# run: |
| 31 | +# working-directory: ./ |
| 32 | +# steps: |
| 33 | +# - name: Checkout repo |
| 34 | +# uses: actions/checkout@v4 |
35 | 35 |
|
36 | | - - name: Run docker compose |
37 | | - run: docker compose -f docker-compose.yml up --build -d |
38 | | - working-directory: ./ |
| 36 | +# - name: Run docker compose |
| 37 | +# run: docker compose -f docker-compose.yml up --build -d |
| 38 | +# working-directory: ./ |
39 | 39 |
|
40 | | - - name: Print Docker Compose logs |
41 | | - run: docker compose logs |
| 40 | +# - name: Print Docker Compose logs |
| 41 | +# run: docker compose logs |
42 | 42 |
|
43 | | - # - name: Set up Docker Compose |
44 | | - # uses: hoverkraft-tech/compose-action@v2.0.2 |
45 | | - # with: |
46 | | - # compose-file: | |
47 | | - # docker-compose.yml |
48 | | - # docker-integration-tests.yml |
| 43 | +# # - name: Set up Docker Compose |
| 44 | +# # uses: hoverkraft-tech/compose-action@v2.0.2 |
| 45 | +# # with: |
| 46 | +# # compose-file: | |
| 47 | +# # docker-compose.yml |
| 48 | +# # docker-integration-tests.yml |
49 | 49 |
|
50 | | - - name: Setup .NET |
51 | | - uses: actions/setup-dotnet@v3 |
52 | | - with: |
53 | | - dotnet-version: 8.0.x |
| 50 | +# - name: Setup .NET |
| 51 | +# uses: actions/setup-dotnet@v3 |
| 52 | +# with: |
| 53 | +# dotnet-version: 8.0.x |
54 | 54 |
|
55 | | - - name: Restore dependencies |
56 | | - run: dotnet restore |
57 | | - working-directory: ./src/ |
| 55 | +# - name: Restore dependencies |
| 56 | +# run: dotnet restore |
| 57 | +# working-directory: ./src/ |
58 | 58 |
|
59 | | - - name: Build |
60 | | - run: dotnet build -c Debug --no-restore |
61 | | - working-directory: ./src/ |
| 59 | +# - name: Build |
| 60 | +# run: dotnet build -c Debug --no-restore |
| 61 | +# working-directory: ./src/ |
62 | 62 |
|
63 | | - - name: Test |
64 | | - if: ${{ success() }} |
65 | | - run: dotnet test -c Debug --no-build --no-restore |
66 | | - working-directory: ./src/ |
| 63 | +# - name: Test |
| 64 | +# if: ${{ success() }} |
| 65 | +# run: dotnet test -c Debug --no-build --no-restore |
| 66 | +# working-directory: ./src/ |
0 commit comments