Skip to content

Commit

Permalink
Revert Python 3.12.0 specific usage (#1341) (#1342)
Browse files Browse the repository at this point in the history
(cherry picked from commit a7d9253)

Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
  • Loading branch information
mergify[bot] and woodsp-ibm authored Feb 22, 2024
1 parent 9892e2c commit c3897f2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,16 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12.0]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
include:
- os: macos-latest
python-version: 3.8
- os: macos-latest
python-version: 3.12.0
python-version: 3.12
- os: windows-latest
python-version: 3.8
- os: windows-latest
python-version: 3.12.0
python-version: 3.12
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -175,10 +175,8 @@ jobs:
sudo chown -R $USER: "$CONDA"
fi
source "$CONDA/etc/profile.d/conda.sh"
if [ "${{ matrix.python-version }}" == "3.11" ]; then
if [ "${{ matrix.python-version }}" >= "3.11" ]; then
conda create -y -n psi4env python=${{ matrix.python-version }} -c conda-forge
elif [ "${{ matrix.python-version }}" == "3.12.0" ]; then
conda create -y -n psi4env python=3.12 -c conda-forge
else
conda create -y -n psi4env python=${{ matrix.python-version }}
fi
Expand Down Expand Up @@ -381,23 +379,23 @@ jobs:
path: /tmp/u311
- uses: actions/download-artifact@v4
with:
name: ubuntu-latest-3.12.0
name: ubuntu-latest-3.12
path: /tmp/u312
- uses: actions/download-artifact@v4
with:
name: macos-latest-3.8
path: /tmp/m38
- uses: actions/download-artifact@v4
with:
name: macos-latest-3.12.0
name: macos-latest-3.12
path: /tmp/m312
- uses: actions/download-artifact@v4
with:
name: windows-latest-3.8
path: /tmp/w38
- uses: actions/download-artifact@v4
with:
name: windows-latest-3.12.0
name: windows-latest-3.12
path: /tmp/w312
- name: Install Dependencies
run: pip install -U coverage coveralls diff-cover
Expand Down

0 comments on commit c3897f2

Please sign in to comment.