Skip to content

Commit

Permalink
Make sphinx workflow work with python 3.8 but conda version of 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Aug 16, 2024
1 parent 56a6152 commit 00d8f24
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/sphinx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12.4"
python-version: "3.8"
- name: Set-up miniconda for macos and ubuntu
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.12
miniconda-version: "latest"
- name: Create conda env
run: conda create -n NCP python=3.12
- name: Install pip
run: conda run -n NCP conda install pip
- name: Install dependencies
run: |
pip install -r requirements.txt
Expand Down

0 comments on commit 00d8f24

Please sign in to comment.