diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-05-03 22:04:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 02:04:02 +0000 |
commit | f7f078213297ee870301d1282366d2f0b5d9de2b (patch) | |
tree | 8e7c0c1222269061f368e89b4a7a9116a3ea0adb /.github/workflows/pull-e2e.yml | |
parent | ad8631c069e331c29fe0bca8a0215d2122afaa74 (diff) | |
download | gitea-f7f078213297ee870301d1282366d2f0b5d9de2b.tar.gz gitea-f7f078213297ee870301d1282366d2f0b5d9de2b.zip |
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>
Diffstat (limited to '.github/workflows/pull-e2e.yml')
-rw-r--r-- | .github/workflows/pull-e2e.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/pull-e2e.yml b/.github/workflows/pull-e2e.yml new file mode 100644 index 0000000000..2cd6bd0d6a --- /dev/null +++ b/.github/workflows/pull-e2e.yml @@ -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 |