Skip to content

Commit

Permalink
Update github action files (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
erick-xanadu authored Mar 4, 2024
1 parent c9e7249 commit e941350
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .dep-versions
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ llvm=cd9a641613eddf25d4b25eaa96b2c393d401d42c
enzyme=1beb98b51442d50652eaa3ffb9574f4720d611f1

# Always remove custom PL/LQ versions before release.
pennylane=f638bc53a09724a83d9d58964bf37bfd438e6aa3
lightning=0.35.0-dev21
10 changes: 8 additions & 2 deletions .github/workflows/build-wheel-linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ jobs:

- name: Install Python dependencies
run: |
python${{ matrix.python_version }} -m pip install pytest<8.1.0 pytest-xdist
python${{ matrix.python_version }} -m pip install 'pytest<8.1.0' pytest-xdist
- name: Install PennyLane Plugins
run: |
Expand All @@ -383,7 +383,13 @@ jobs:
- name: Install Catalyst
run: |
python${{ matrix.python_version }} -m pip install $GITHUB_WORKSPACE/dist/*.whl --extra-index-url https://test.pypi.org/simple
python${{ matrix.python_version }} -m pip install $GITHUB_WORKSPACE/dist/*.whl --extra-index-url https://test.pypi.org/simple --no-deps # Do not install pennylane-0.35.0
python${{ matrix.python_version }} -m pip install git+https://github.com/pennylaneAI/pennylane@c91a1542ac9ce074acac7fee01571633cca79d5b # Install PL rc
python${{ matrix.python_version }} -m pip install 'pennylane-lightning>=0.35.0'
python${{ matrix.python_version }} -m pip install 'jax==0.4.23' 'jaxlib==0.4.23'
python${{ matrix.python_version }} -m pip install 'tomlkit;python_version<"3.11"'
python${{ matrix.python_version }} -m pip install scipy
python${{ matrix.python_version }} -m pip install 'diastatic-malt>=2.15.1'
- name: Run Python Pytest Tests
run: |
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/build-wheel-macos-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ jobs:

- name: Install Python dependencies
run: |
python${{ matrix.python_version }} -m pip install pytest<8.1.0 pytest-xdist
python${{ matrix.python_version }} -m pip install 'pytest<8.1.0' pytest-xdist
- name: Install PennyLane Plugins
run: |
Expand All @@ -392,7 +392,13 @@ jobs:
- name: Install Catalyst
run: |
python${{ matrix.python_version }} -m pip install $GITHUB_WORKSPACE/dist/*.whl --extra-index-url https://test.pypi.org/simple
python${{ matrix.python_version }} -m pip install $GITHUB_WORKSPACE/dist/*.whl --extra-index-url https://test.pypi.org/simple --no-deps # Do not install pennylane-0.35.0
python${{ matrix.python_version }} -m pip install git+https://github.com/pennylaneAI/pennylane@c91a1542ac9ce074acac7fee01571633cca79d5b # Install PL rc
python${{ matrix.python_version }} -m pip install 'pennylane-lightning>=0.35.0'
python${{ matrix.python_version }} -m pip install 'jax==0.4.23' 'jaxlib==0.4.23'
python${{ matrix.python_version }} -m pip install 'tomlkit;python_version<"3.11"'
python${{ matrix.python_version }} -m pip install scipy
python${{ matrix.python_version }} -m pip install 'diastatic-malt>=2.15.1'
- name: Run Python Pytest Tests
run: |
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/build-wheel-macos-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ jobs:

- name: Install Python dependencies
run: |
python${{ matrix.python_version }} -m pip install pytest<8.1.0 pytest-xdist
python${{ matrix.python_version }} -m pip install 'pytest<8.1.0' pytest-xdist
- name: Install PennyLane Plugins
run: |
Expand All @@ -362,7 +362,13 @@ jobs:
- name: Install Catalyst
run: |
python${{ matrix.python_version }} -m pip install $GITHUB_WORKSPACE/dist/*.whl --extra-index-url https://test.pypi.org/simple
python${{ matrix.python_version }} -m pip install $GITHUB_WORKSPACE/dist/*.whl --extra-index-url https://test.pypi.org/simple --no-deps # Do not install pennylane-0.35.0
python${{ matrix.python_version }} -m pip install git+https://github.com/pennylaneAI/pennylane@c91a1542ac9ce074acac7fee01571633cca79d5b # Install PL rc
python${{ matrix.python_version }} -m pip install 'pennylane-lightning>=0.35.0'
python${{ matrix.python_version }} -m pip install 'jax==0.4.23' 'jaxlib==0.4.23'
python${{ matrix.python_version }} -m pip install 'tomlkit;python_version<"3.11"'
python${{ matrix.python_version }} -m pip install scipy
python${{ matrix.python_version }} -m pip install 'diastatic-malt>=2.15.1'
- name: Run Python Pytest Tests
run: |
Expand Down

0 comments on commit e941350

Please sign in to comment.