Skip to content

Commit

Permalink
ci(test): Use python installation akin to other jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Nov 26, 2024
1 parent a9a3d41 commit 6f100c5
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,27 @@ jobs:

steps:
- uses: "actions/checkout@v4"
- uses: excitedleigh/[email protected]
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: |
3.10
3.11
3.12
- name: "Install top-level dependencies"
run: |
python -m pip install --upgrade pip
python -m pip install nox poetry
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "${{ matrix.python-version }}"
conda-remove-defaults: "true"

- name: "Install and update pip"
run: |
conda install -c conda-forge pip python=${{ matrix.python-version }} -y
pip install --upgrade pip poetry
conda install -c conda-forge pip "python=${{ matrix.python-version }}" -y
- name: "Integration tests"
run: nox -s build_tests_integration -x -- -vv

0 comments on commit 6f100c5

Please sign in to comment.