Skip to content

Commit 59ceb25

Browse files
committed
testing order in which the tests will be executed avoiding long runs that consumes processing
1 parent 98dde78 commit 59ceb25

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: CI
22

33
on:
4+
workflow_run:
5+
workflows: [Lint]
6+
types: [completed]
47
pull_request:
58
workflow_dispatch:
69
push:
@@ -11,28 +14,6 @@ permissions:
1114
contents: read
1215

1316
jobs:
14-
# lint: # Turn on when linting issues are resolved
15-
# runs-on: ubuntu-latest
16-
# timeout-minutes: 2
17-
18-
# steps:
19-
# - name: Checkout code
20-
# uses: actions/checkout@v5
21-
22-
# - name: Set up Python
23-
# uses: actions/setup-python@v6
24-
# with:
25-
# python-version: "3.9"
26-
27-
# - name: Install dependencies
28-
# run: |
29-
# python -m pip install --upgrade pip
30-
# pip install -e .[all]
31-
32-
# - name: Lint code
33-
# run: |
34-
# ruff check .
35-
3617
test-unit:
3718
# needs: lint
3819
runs-on: ubuntu-latest

.github/workflows/docker.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
on:
2+
workflow_run:
3+
workflows: [Lint]
4+
types: [completed]
25
pull_request:
36
workflow_dispatch:
47
push:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: ruff check $(git diff --name-only --cached -- '*.py')
3030

3131

32-
mypy-files-that-changed:
32+
mypy-changes-in-file:
3333
runs-on: ubuntu-latest
3434
name: mypy run
3535
steps:

autosubmit/job/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
# parameter described. This is only for parameters which
6161
# are not properties of Job. Otherwise, please use the
6262
# ``autosubmit_parameter`` (singular!) decorator for the
63-
# ``@property # type: ignore`` annotated members. The variable groups
63+
# ``@property`` annotated members. The variable groups
6464
# are cumulative, so you can add to ``job``, for instance,
6565
# in multiple files as long as the variable names are
6666
# unique per group.

0 commit comments

Comments
 (0)