mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-26 20:31:33 +00:00
Use Actions for DB & E2E tests (#24494)
following https://github.com/go-gitea/gitea/pull/24314 and https://github.com/go-gitea/gitea/pull/24434, this PR moves drone cron pipelines to (GitHub) Actions. As these are mostly compatible with Gitea Actions, when we start to dogfood, these will already be migrated. --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
28
.github/workflows/pull-e2e.yml
vendored
Normal file
28
.github/workflows/pull-e2e.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: "Pull: E2E Tests"
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
e2e_tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: setup go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '>=1.20'
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- name: build
|
||||
run: make deps-frontend frontend deps-backend
|
||||
- name: Install playwright browsers
|
||||
run: npx playwright install --with-deps
|
||||
- name: run tests
|
||||
run: timeout -s ABRT 40m make test-e2e-sqlite
|
||||
env:
|
||||
GOPROXY: https://goproxy.io
|
||||
GOSUMDB: sum.golang.org
|
||||
USE_REPO_TEST_DIR: 1
|
||||
Reference in New Issue
Block a user