Skip to content

Commit

Permalink
install gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Sep 27, 2024
1 parent 5b2a3a1 commit 29a8f7c
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,31 @@ jobs:
build:
strategy:
matrix:
version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest
# version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
version: ["3.9"]
runs-on: "cirun-aws-t2-large-ubuntu2204--${{ github.run_id }}"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3

- name: Set up Python
if: matrix.version != 3.13
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.version }}"
allow-prereleases: true
# - name: Set up Python
# if: matrix.version != 3.13
# uses: actions/setup-python@v4
# with:
# python-version: "${{ matrix.version }}"
# allow-prereleases: true

- name: Setup Python via Miniconda
if: matrix.version == 3.13
uses: conda-incubator/[email protected]
with:
python-version: 3.13
channels: defaults,ad-testing/label/py313_nogil
python-version: "${{ matrix.version }}"
#channels: defaults,ad-testing/label/py313_nogil

- name: Install build essentials
run: |
conda install gcc -c conda-forge -y
- name: Check Python version
run: |
Expand Down Expand Up @@ -58,4 +62,4 @@ jobs:
- name: Run Tests
run: python -m unittest discover tests/ -vvv
env:
PYTHON_GIL: 0
PYTHON_GIL: 0

0 comments on commit 29a8f7c

Please sign in to comment.