Skip to content

GMGPolarCI

GMGPolarCI #682

Workflow file for this run

name: GMGPolarCI
on :
schedule:
- cron: "40 2 * * *"
push:
branches:
- "main"
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
install-and-build:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/build
run-unit-test:
needs: install-and-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
with:
build-artifact: build-cpp-linux-gmgpolar
codecov:
if: github.event.pull_request.draft == false
needs: [run-unit-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get -qq update
sudo apt-get -qq -y install git curl
- name: Download cpp coverage report
uses: actions/download-artifact@v3
with:
name: test-coverage-reports
- name: Deploy to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.info
verbose: true