Skip to content

Commit

Permalink
GitHub Actions: Upgrade to actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Sep 5, 2023
1 parent ec4313b commit c34934e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pip_install_gmpy2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.11, '3.12-dev']
python-version: [3.11, 3.12]
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- run: pip install --upgrade pip
- run: pip --verbose install -e .[tests]
- run: pip --verbose install --editable .[tests]
- run: python test/runtests.py
- run: PYTHONPATH=`pwd`/gmpy2 python test_cython/runtests.py
if: ${{ matrix.python-version == '3.11' }}
Expand All @@ -29,13 +30,13 @@ jobs:
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: sudo apt-get install libmpc-dev texlive texlive-latex-extra latexmk lcov
- run: pip install --upgrade pip
- run: pip --verbose install -e .[docs,tests]
- run: pip --verbose install --editable .[docs,tests]
- run: python test/runtests.py
- run: PYTHONPATH=`pwd`/gmpy2 python test_cython/runtests.py
- run: sphinx-build --color -W --keep-going -b doctest docs build/sphinx/doctest
Expand Down

0 comments on commit c34934e

Please sign in to comment.