1
Fork 0

Playwright testing for commit diffs

includes:

- easier repo declaration for playwright tests by @Gusted
- full backend build for pushing Git repos by @Gusted
- playwright testing (which fails with the current diff algorithm, but
  passes with the new)
- disable eslint rule for conditional expect, because it defeats the
  purpose (working around it would result in much more complex test code
  in our cases)
This commit is contained in:
Otto Richter 2024-08-25 14:52:21 +02:00
parent 190b5a3859
commit d97e36f6d7
7 changed files with 121 additions and 7 deletions

View file

@ -22,7 +22,7 @@ jobs:
go-version-file: "go.mod"
- run: |
apt-get -qq update
apt-get -qq install -q sudo
apt-get -qq install -q sudo git git-lfs
sed -i -e 's/%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers
git config --add safe.directory '*'
adduser --quiet --comment forgejo --disabled-password forgejo
@ -30,6 +30,8 @@ jobs:
chown -R forgejo:forgejo .
- run: |
su forgejo -c 'make deps-frontend frontend deps-backend'
- run: |
su forgejo -c 'make backend'
- run: |
su forgejo -c 'make generate test-e2e-sqlite'
timeout-minutes: 40