try new workflow config #4 #294
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
test: | |
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 |