Skip to content

Commit

Permalink
chore: move e2e tests to code-quality workflow as duration of e2e ste…
Browse files Browse the repository at this point in the history
…p is about 4 minutes
  • Loading branch information
Meierschlumpf committed Nov 4, 2024
1 parent d361fd7 commit e3cacad
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 53 deletions.
27 changes: 0 additions & 27 deletions .github/actions/e2e-execution/action.yml

This file was deleted.

28 changes: 25 additions & 3 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,33 @@ jobs:
- name: Test
run: pnpm test

- name: 'Report Coverage'
- name: "Report Coverage"
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2
if: always()
uses: davelosert/vitest-coverage-report-action@v2

e2e:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup
uses: ./tooling/github/setup
- name: Build docker image
id: build-docker-image
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: .
push: false
tags: homarr-e2e
network: host
env:
SKIP_ENV_VALIDATION: true
- name: Run E2E Tests
shell: bash
run: pnpm test:e2e

build:
runs-on: ubuntu-latest
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/e2e-trigger.yml

This file was deleted.

0 comments on commit e3cacad

Please sign in to comment.