Skip to content

Commit

Permalink
Adds unit tests to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaroberts committed Feb 21, 2024
1 parent 7003bf1 commit b2bec42
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_and_test_cli.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow to build nii2dcm and test different command line interface (CLI) options
# Workflow to build nii2dcm, run unit tests and then execute command line interface (CLI) end-to-end

name: Build nii2dcm

Expand All @@ -7,7 +7,7 @@ on:

jobs:
build-and-test:
name: Build
name: Build, Unit Tests & E2E

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -57,6 +57,10 @@ jobs:
nii2dcm -h
nii2dcm -v
- name: Run unit tests
run: |
pytest tests/
- name: Test DicomMRISVR creation
run: |
# run nii2dcm
Expand Down

0 comments on commit b2bec42

Please sign in to comment.