Skip to content

Commit 9f5c6ef

Browse files
authored
move test_todos_annotated out to another repo (in order to share with other open-atmos projects) (#221)
1 parent 625bec6 commit 9f5c6ef

File tree

4 files changed

+18
-98
lines changed

4 files changed

+18
-98
lines changed

.github/workflows/tests+pypi.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,29 @@ on:
1515
types: [published]
1616

1717
jobs:
18-
todos_annotated_and_debug_build_ok:
18+
devops_tests:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v2
2222
with:
2323
submodules: recursive
2424
fetch-depth: 0 # https://github.com/pypa/setuptools_scm/issues/480
25-
- run: DEBUG=1 VERBOSE=1 pip install --verbose -e .[tests]
25+
- run: pip install -r gitmodules/devops_tests/requirements.txt
2626
- env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
run: pytest --durations=10 -v -s -We -p no:unraisableexception tests/test_todos_annotated.py
28+
run: pytest --durations=10 -v -s -We -p no:unraisableexception gitmodules/devops_tests
29+
30+
debug_build_ok:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v2
34+
with:
35+
submodules: recursive
36+
fetch-depth: 0 # https://github.com/pypa/setuptools_scm/issues/480
37+
- run: DEBUG=1 VERBOSE=1 pip install --verbose -e .[tests]
2938

3039
build:
31-
needs: [todos_annotated_and_debug_build_ok]
40+
needs: [devops_tests, debug_build_ok]
3241
strategy:
3342
matrix:
3443
platform: [ubuntu-latest, macos-12, windows-latest]

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@
3838
path = gitmodules/json-fortran
3939
url = https://github.com/jacobwilliams/json-fortran
4040
shallow = true
41+
[submodule "gitmodules/devops_tests"]
42+
path = gitmodules/devops_tests
43+
url = https://github.com/open-atmos/devops_tests
44+
shallow = true

gitmodules/devops_tests

Submodule devops_tests added at f5f56f2

tests/test_todos_annotated.py

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

0 commit comments

Comments
 (0)