Skip to content

Commit d0fc1ef

Browse files
authored
[231] use shared testing workflow (#232)
1 parent 4c59938 commit d0fc1ef

File tree

3 files changed

+10
-69
lines changed

3 files changed

+10
-69
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ on:
1111

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

1720
deploy:
1821
needs: call-test-workflow

.github/workflows/run-tests-on-pull-request.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ on:
66

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

.github/workflows/run-tests.yaml

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)