Skip to content

Commit

Permalink
Revive CI (#930)
Browse files Browse the repository at this point in the history
* Don't test Python 2.7 on macOS

* Install libpython2.7 for `find_libpython`

* Use 1.7-rc1 instead of nightly in AOT test
  • Loading branch information
tkf committed Oct 24, 2021
1 parent 8a98fb4 commit f83a11f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/aot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
- ubuntu-latest
architecture: [x64]
python-version: ['3.8']
julia-version: ['1.5', 'nightly']
julia-version:
- '1.5'
- '~1.7.0-rc1'
# - 'nightly' # TODO: reenable
fail-fast: false
env:
PYTHON: python${{ matrix.python-version }}
Expand All @@ -34,6 +37,9 @@ jobs:
architecture: ${{ matrix.architecture }}
- run: python --version
- run: python -m pip install --user numpy
- name: Install libpython2.7 for `find_libpython` test
run: sudo apt-get install python2.7-dev
if: ${{ matrix.python-version != '2.7' && matrix.os == 'ubuntu-latest' }}
- name: Setup julia
uses: julia-actions/setup-julia@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
${{ matrix.os }} ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v1
- name: Install libpython2.7 for `find_libpython` test
run: sudo apt-get install python2.7-dev
if: ${{ matrix.python-version != '2.7' && matrix.os == 'ubuntu-latest' }}
- name: Setup julia
uses: julia-actions/setup-julia@v1
with:
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
- macos-latest
- windows-latest
architecture: [x64]
python-version: ['2.7', '3.8']
python-version: ['3.8']
julia-version: ['1.0', '1.5', 'nightly']
include:
# 32 bit Windows:
- os: windows-latest
architecture: x86
python-version: '3.8'
julia-version: '1.5'
# Sweep julia-version only on Ubuntu:
- os: ubuntu-latest
architecture: x64
python-version: '3.7'
Expand All @@ -37,6 +39,16 @@ jobs:
architecture: x64
python-version: '3.8'
julia-version: '1.3'
# Test Python 2.7 only with a few combinations (TODO: drop 2.7).
# Note that it does not work in macOS:
- os: ubuntu-latest
architecture: x64
python-version: '2.7'
julia-version: '1.5'
- os: windows-latest
architecture: x64
python-version: '2.7'
julia-version: '1.5'
fail-fast: false
name: Test
Julia ${{ matrix.julia-version }}
Expand All @@ -56,6 +68,9 @@ jobs:
if: ${{ matrix.python-version != '2.7' }}
- run: virtualenv --version
if: ${{ matrix.python-version != '2.7' }}
- name: Install libpython2.7 for `find_libpython` test
run: sudo apt-get install python2.7-dev
if: ${{ matrix.python-version != '2.7' && matrix.os == 'ubuntu-latest' }}
- name: Setup julia
uses: julia-actions/setup-julia@v1
with:
Expand Down

0 comments on commit f83a11f

Please sign in to comment.