Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten König committed Jul 23, 2024
1 parent 5cd31e3 commit acf18d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: cars10
password: ${{ secrets.DOCKER_PASSWORD }}

- name: pull ci image
run: |
docker pull ghcr.io/cars10/elasticvue_ci:latest
- name: run tests
run: make CI=1 ci
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
CI ?=
CI_IMAGE=ghcr.io/cars10/elasticvue_ci:latest

build_docker_ci:
docker build -f docker/Dockerfile_ci -t ${CI_IMAGE} .
docker build -f docker/Dockerfile_ci -t elasticvue-ci .

ci: build_docker_ci
docker run --rm ${CI_IMAGE} yarn lint
docker run --rm ${CI_IMAGE} yarn tsc
docker run --rm ${CI_IMAGE} yarn test:unit
docker run --rm -e CI="$(CI)" -v ./playwright-report-ci:/app/playwright-report ${CI_IMAGE} yarn test:e2e:all
docker run --rm elasticvue-ci yarn lint
docker run --rm elasticvue-ci yarn tsc
docker run --rm elasticvue-ci yarn test:unit
docker run --rm -e CI="$(CI)" -v ./playwright-report-ci:/app/playwright-report elasticvue-ci yarn test:e2e:all

build_tauri:
yarn tauri:build
Expand Down

0 comments on commit acf18d8

Please sign in to comment.