loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'chore(ci): ROLE forgejo-coding & forgejo-testing (part two)' (#5944) from earl-warren/forgejo:wip-testing-only into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5944

+9 -9
+1 -1
.forgejo/workflows/cascade-setup-end-to-end.yml
··· 45 45 46 46 cascade: 47 47 if: > 48 - !startsWith(vars.ROLE, 'forgejo-') && ( 48 + vars.ROLE == 'forgejo-coding' && ( 49 49 github.event_name == 'push' || 50 50 ( 51 51 github.event.action == 'label_updated' && github.event.label.name == 'run-end-to-end-tests'
+8 -8
.forgejo/workflows/testing.yml
··· 26 26 - run: su forgejo -c 'make --always-make -j$(nproc) lint-backend tidy-check swagger-check fmt-check swagger-validate' # ensure the "go-licenses" make target runs 27 27 - uses: ./.forgejo/workflows-composite/build-backend 28 28 frontend-checks: 29 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 29 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 30 30 runs-on: docker 31 31 container: 32 32 image: 'code.forgejo.org/oci/node:20-bookworm' ··· 49 49 path: ${{github.workspace}}/public/assets 50 50 key: frontend-build-${{ github.sha }} 51 51 test-unit: 52 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 52 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 53 53 runs-on: docker 54 54 needs: [backend-checks, frontend-checks] 55 55 container: ··· 88 88 TAGS: bindata 89 89 TEST_ELASTICSEARCH_URL: http://elasticsearch:9200 90 90 test-e2e: 91 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 91 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 92 92 runs-on: docker 93 93 needs: [backend-checks, frontend-checks] 94 94 container: ··· 122 122 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 123 123 CHANGED_FILES: ${{steps.changed-files.outputs.all_changed_files}} 124 124 test-remote-cacher: 125 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 125 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 126 126 runs-on: docker 127 127 needs: [backend-checks, frontend-checks, test-unit] 128 128 container: ··· 162 162 TAGS: bindata 163 163 TEST_REDIS_SERVER: cacher:${{ matrix.cacher.port }} 164 164 test-mysql: 165 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 165 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 166 166 runs-on: docker 167 167 needs: [backend-checks, frontend-checks] 168 168 container: ··· 191 191 env: 192 192 USE_REPO_TEST_DIR: 1 193 193 test-pgsql: 194 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 194 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 195 195 runs-on: docker 196 196 needs: [backend-checks, frontend-checks] 197 197 container: ··· 225 225 USE_REPO_TEST_DIR: 1 226 226 TEST_LDAP: 1 227 227 test-sqlite: 228 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 228 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 229 229 runs-on: docker 230 230 needs: [backend-checks, frontend-checks] 231 231 container: ··· 247 247 TEST_TAGS: sqlite sqlite_unlock_notify 248 248 USE_REPO_TEST_DIR: 1 249 249 security-check: 250 - if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} 250 + if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing' 251 251 runs-on: docker 252 252 needs: 253 253 - test-sqlite