Skip to content

Commit

Permalink
🚨 Add build and test workflow for pull_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
micheltakken committed Nov 8, 2023
1 parent 769d4e4 commit 25b341e
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Ubuntu-build and
name: Ubuntu-test

on:
pull_request:
types: [opened, reopened, edited]
branches: [main, develop]

jobs:
build:
test:
runs-on: ubuntu-latest

steps:
Expand All @@ -20,10 +20,6 @@ jobs:
- name: Build
run: cmake --build ${{github.workspace}}/build

test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Run Tests
- name: Test
working-directory: ${{github.workspace}}/build
run: ./simulatorTest
run: ./simulatorTest

0 comments on commit 25b341e

Please sign in to comment.