Skip to content

Commit f83c6a5

Browse files
committed
Refactor workflow to combine test jobs
Merged dependency installation and test execution into a single 'run-tests' job in the GitHub Actions workflow. Simplifies CI configuration by removing the separate install-dependencies job.
1 parent fd4a71d commit f83c6a5

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/documentation.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Documentation Generation and Deployment
1+
name: Run tests workflow
22

33
on:
44
# Trigger on pushes to main branch
@@ -19,13 +19,11 @@ env:
1919
NODE_VERSION: "16"
2020

2121
jobs:
22-
# Job 0.1: Install Dependencies
23-
install-dependencies:
22+
23+
# Job 0: Run Tests
24+
run-tests:
2425
runs-on: ubuntu-latest
2526
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v4
28-
2927
- name: Set up Python
3028
uses: actions/setup-python@v4
3129
with:
@@ -51,12 +49,6 @@ jobs:
5149
run: |
5250
poetry install
5351
54-
# Job 0.2: Run Tests
55-
run-tests:
56-
runs-on: ubuntu-latest
57-
needs: [install-dependencies]
58-
# No if condition, run for all events
59-
steps:
6052
- name: Run tests
6153
run: |
6254
poetry run pytest --disable-warnings

0 commit comments

Comments
 (0)