Skip to content

Commit eecbd3a

Browse files
committed
moved run tests out of prepare_environment
1 parent 970c71e commit eecbd3a

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/actions/prepare_environment/action.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ inputs:
2525
DYMOS:
2626
required: true
2727
type: string
28-
Run_tests:
29-
required: false
30-
type: boolean
3128
SSH_PRIVATE_KEY:
3229
required: true
3330
SSH_KNOWN_HOSTS:
@@ -152,12 +149,4 @@ runs:
152149
name: ${{ inputs.NAME }}_environment
153150
path: ${{ inputs.NAME }}_environment.yml
154151
retention-days: 5
155-
156-
- name: Run tests
157-
if: inputs.Run_tests
158-
shell: bash -l {0}
159-
run: |
160-
echo "============================================================="
161-
echo "Run Tests"
162-
echo "============================================================="
163-
testflo . -n 1 --show_skipped --coverage --coverpkg aviary
152+

.github/workflows/test_workflow.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,18 @@ jobs:
8484
SNOPT: ${{ matrix.SNOPT }}
8585
OPENMDAO: ${{ matrix.OPENMDAO }}
8686
DYMOS: ${{ matrix.DYMOS }}
87-
Run_tests: true
8887
SSH_PRIVATE_KEY: ${{secrets.SSH_PRIVATE_KEY}}
8988
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
9089
SNOPT_LOCATION_77: ${{ secrets.SNOPT_LOCATION_77 }}
9190

91+
- name: Run tests
92+
shell: bash -l {0}
93+
run: |
94+
echo "============================================================="
95+
echo "Run Tests"
96+
echo "============================================================="
97+
testflo . -n 1 --show_skipped --coverage --coverpkg aviary
98+
9299
- name: Checkout actions (again)
93100
uses: actions/checkout@v3
94101
with:

0 commit comments

Comments
 (0)