Fix github actions

This commit is contained in:
kamilritz 2020-01-23 15:52:06 +01:00 committed by Mathieu Bresciani
parent de33885658
commit d63e4edfd8
4 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
name: Build Tests
on: [push, pull_request]
on: [pull_request]
jobs:
Linux-GCC:

View File

@ -1,6 +1,6 @@
name: Firmware Build Test
on: [push, pull_request]
on: [pull_request]
jobs:
Firmware-build:
@ -20,7 +20,9 @@ jobs:
working-directory: ../Firmware
- name: Configure Firmware to include current ECL version
working-directory: ../Firmware/src/lib/ecl
run: git checkout ${{ github.sha }}
run: |
git fetch origin +${{ github.ref }}
git checkout ${{ github.sha }}
- name: Add and commit new ECL version
run: |
git config --global user.email "${GIT_COMMITTER_EMAIL}"

View File

@ -1,6 +1,6 @@
name: Format Checks
on: [push, pull_request]
on: [pull_request]
jobs:
format_checks:

View File

@ -1,6 +1,6 @@
name: Unit Tests
on: [push, pull_request]
on: [pull_request]
jobs:
unit_tests: