Skip to content

Commit 581286e

Browse files
committed
Renames jobs and set up conda after python
1 parent 7e9565f commit 581286e

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/building-deploying-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
jobs:
2020
# Job 1: Build the static files for the documentation site
21-
build-docs:
21+
building-docs:
2222
runs-on: macos-14 # Use macOS to switch to dark mode for Plotly charts
2323

2424
steps:
@@ -159,8 +159,8 @@ jobs:
159159
compression-level: 0
160160

161161
# Job 2: Deploy the static files
162-
deploy-docs:
163-
needs: build-docs # previous job 'build-docs' need to be finished first
162+
deploying-docs:
163+
needs: building-docs # previous job 'build-docs' need to be finished first
164164

165165
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
166166
permissions:

.github/workflows/testing-code.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424
cancel-in-progress: true
2525

2626
jobs:
27-
test-code:
27+
testing-code:
2828

2929
strategy:
3030
fail-fast: false
@@ -38,6 +38,15 @@ jobs:
3838
- name: Checkout repository
3939
uses: actions/checkout@v4
4040

41+
- name: Set up Python ${{ matrix.python-version }}
42+
uses: actions/setup-python@v5
43+
with:
44+
python-version: ${{ matrix.python-version }}
45+
46+
- name: Upgrade package installer for Python
47+
shell: bash
48+
run: python -m pip install --upgrade pip
49+
4150
- name: Setup conda (Windows only)
4251
if: runner.os == 'Windows'
4352
uses: s-weigand/setup-conda@v1
@@ -51,15 +60,6 @@ jobs:
5160
shell: bash
5261
run: conda install -y -c conda-forge libcblas
5362

54-
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v5
56-
with:
57-
python-version: ${{ matrix.python-version }}
58-
59-
- name: Upgrade package installer for Python
60-
shell: bash
61-
run: python -m pip install --upgrade pip
62-
6363
- name: Install Python dependencies
6464
shell: bash
6565
run: python -m pip install -r requirements.txt

.github/workflows/testing-tutorials-colab.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424
cancel-in-progress: true
2525

2626
jobs:
27-
test-colab:
27+
testing-tutorials-colab:
2828

2929
strategy:
3030
fail-fast: false

.github/workflows/testing-tutorials.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
test-code:
18+
testing-tutorials:
1919

2020
strategy:
2121
fail-fast: false

0 commit comments

Comments
 (0)