merge conflict check #102
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: Pull Request Test | |
on: | |
pull_request: | |
branches: | |
- dev | |
- master | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: vichannnnn/holy-grail | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Copy .env.example to .env | |
run: cp .env.example .env | |
- name: Run tests with coverage | |
run: make coverage version="dev" | |
- name: Generate xml | |
run: make generate_xml version="dev" | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
verbose: true | |
check: | |
if: always() | |
needs: [ Test ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: All jobs result | |
uses: re-actors/[email protected] | |
with: | |
jobs: ${{ toJSON(needs) }} |