Skip to content

Commit e4fb8d9

Browse files
authored
[29] use reusable workflow for testing (#31)
1 parent 7c12901 commit e4fb8d9

File tree

5 files changed

+183
-152
lines changed

5 files changed

+183
-152
lines changed

.github/workflows/deploy-to-aws.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ on:
88

99
jobs:
1010
call-test-workflow:
11-
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
12-
uses: ./.github/workflows/run-tests.yml
11+
uses: GNS-Science/nshm-github-actions/.github/workflows/python-run-tests.yml@main
12+
with:
13+
operating-systems: "['ubuntu-latest']"
14+
python-versions: "['3.10']"
15+
secrets: inherit
1316

1417
deploy:
1518
needs: call-test-workflow

.github/workflows/dev.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ on:
99

1010
jobs:
1111
call-test-workflow:
12-
#https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
13-
uses: ./.github/workflows/run-tests.yml
12+
uses: GNS-Science/nshm-github-actions/.github/workflows/python-run-tests.yml@main
13+
with:
14+
operating-systems: "['ubuntu-latest']"
15+
python-versions: "['3.10']"
16+
secrets: inherit

.github/workflows/run-tests.yml

-47
This file was deleted.

0 commit comments

Comments
 (0)