Skip to content

Commit

Permalink
Add unit test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick committed Oct 25, 2024
1 parent f83fb54 commit c2741d8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/run-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run unit tests

on:
push:
branches:
- github_actions # todo: set to main branch before merge

jobs:
build-and-run-unit-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build Docker image for testing
run: |
docker build --target unittest --tag arbitration_graphs_test .
- name: Run unit tests in Docker container
run: |
docker run --rm arbitration_graphs_test

0 comments on commit c2741d8

Please sign in to comment.