|
33 | 33 | uses: actions/cache@v4 |
34 | 34 | with: |
35 | 35 | path: ~/.cache/pip |
36 | | - key: ${{ runner.os }}-pip-lint-${{ hashFiles('backend/requirements.lock', 'backend/requirements-test.lock') }} |
| 36 | + key: ${{ runner.os }}-pip-lint-${{ hashFiles('backend/requirements.lock') }} |
37 | 37 | restore-keys: | |
38 | 38 | ${{ runner.os }}-pip-lint- |
39 | 39 | ${{ runner.os }}-pip- |
|
64 | 64 | - name: Run pip-audit vulnerability scan |
65 | 65 | continue-on-error: true |
66 | 66 | run: pip-audit -r backend/requirements.lock |
67 | | - |
68 | | - # test: |
69 | | - # name: Run Backend Tests |
70 | | - # runs-on: ubuntu-latest |
71 | | - # |
72 | | - # steps: |
73 | | - # - uses: actions/checkout@v4 |
74 | | - # |
75 | | - # - name: Set up Docker Buildx |
76 | | - # uses: docker/setup-buildx-action@v3 |
77 | | - # |
78 | | - # - name: Cache Docker layers |
79 | | - # uses: actions/cache@v4 |
80 | | - # with: |
81 | | - # path: /tmp/.buildx-cache |
82 | | - # key: ${{ runner.os }}-buildx-${{ hashFiles('backend/Dockerfile.test', 'backend/requirements*.txt', 'backend/requirements*.lock') }} |
83 | | - # restore-keys: | |
84 | | - # ${{ runner.os }}-buildx- |
85 | | - # |
86 | | - # - name: Pull sandbox image and create network |
87 | | - # run: | |
88 | | - # docker pull ghcr.io/mng-dev-ai/agentrove-sandbox:latest |
89 | | - # docker network create agentrove-sandbox-net 2>/dev/null || true |
90 | | - # |
91 | | - # - name: Run tests with Docker Compose |
92 | | - # env: |
93 | | - # CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} |
94 | | - # GH_TOKEN: ${{ secrets.GH_TOKEN }} |
95 | | - # DOCKER_IMAGE: ghcr.io/mng-dev-ai/agentrove-sandbox:latest |
96 | | - # run: | |
97 | | - # docker compose -f docker-compose.test.yml build backend-test |
98 | | - # docker compose -f docker-compose.test.yml run --rm backend-test pytest -v --tb=short --maxfail=5 |
99 | | - # |
100 | | - # - name: Cleanup Docker Compose |
101 | | - # if: always() |
102 | | - # run: docker compose -f docker-compose.test.yml down -v |
0 commit comments