Skip to content

Commit

Permalink
Temporarily pin tox CI to use Python 3.9.7 (#550)
Browse files Browse the repository at this point in the history
Downgrades the Python 3.9 version used in CI as described in #551 to avoid a Pydantic issue.
  • Loading branch information
jdahm committed Nov 11, 2021
1 parent d32e082 commit 145d26d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gt4py-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: [3.8, 3.9.7]

steps:
- uses: actions/checkout@v2
Expand All @@ -27,15 +27,16 @@ jobs:
mv boost_1_76_0/boost boost/include/
echo "BOOST_ROOT=${PWD}/boost" >> $GITHUB_ENV
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Test with tox
run: |
pyversion_no_dot="${{ matrix.python-version }}"
pyversion_no_dot="${pyversion_no_dot/./}"
pyversion_no_dot=${{ matrix.python-version }}
pyversion_no_dot=${pyversion_no_dot//./}
pyversion_no_dot=${pyversion_no_dot:0:2}
pip install tox clang-format
tox -r -e py${pyversion_no_dot}-internal-cpu

0 comments on commit 145d26d

Please sign in to comment.