Skip to content

Commit 4a7bd1d

Browse files
committed
Correct syntax to call reusable workflow (uses: goes in job: job_name: not steps:)
1 parent 4286aaa commit 4a7bd1d

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,11 @@ on:
1414

1515
jobs:
1616
test:
17-
1817
# In general, tests should be run after building a distribution, to test that distribution.
1918
# However as long as PyShp is a pure Python library, with pure Python deps (or no deps)
2019
# then this would only test the packaging process, not so much the code as there are
2120
# no binaries.
22-
runs-on: ubuntu-latest
23-
24-
steps:
25-
- uses: actions/checkout@v4
26-
- name: Set up Python
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: '3.x'
30-
31-
- name: Run tests and hooks
32-
uses: ./.github/workflows/run_tests_hooks_and_tools.yml
21+
uses: ./.github/workflows/run_tests_hooks_and_tools.yml
3322

3423
deploy:
3524
# Prevent deployment of releases that fail any hooks (e.g. linting) or that fail any tests.

0 commit comments

Comments
 (0)