Skip to content

Commit fcd0521

Browse files
committed
CI: Add job with conda
1 parent 7432fbe commit fcd0521

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
test:
15-
name: ${{ matrix.os }}/ruby-${{ matrix.ruby }}/python-${{ matrix.python }}-${{ matrix.python_architecture }}
15+
name: ${{ matrix.os }}/${{ matrix.ruby }}/${{ matrix.python }}-${{ matrix.python_architecture }}
1616
runs-on: ${{ matrix.os }}
1717

1818
strategy:
@@ -66,3 +66,46 @@ jobs:
6666
- run: bundle exec rake
6767
env:
6868
PYTHON: python
69+
70+
conda:
71+
name: conda:${{ matrix.os }}/${{ matrix. ruby }}/${{ matrix.python }}
72+
runs-on: ${{ matrix.os }}
73+
74+
strategy:
75+
fail-fast: false
76+
matrix:
77+
os:
78+
- ubuntu-20.04
79+
- macos-latest
80+
ruby:
81+
- "3.0"
82+
python:
83+
- 3.8
84+
85+
steps:
86+
- uses: actions/checkout@v2
87+
with:
88+
fetch-depth: 1
89+
90+
- uses: ruby/setup-ruby@v1
91+
if: matrix.ruby_version != 'master-nightly'
92+
with:
93+
ruby-version: ${{ matrix.ruby }}
94+
95+
- uses: s-weigand/setup-conda@v1
96+
with:
97+
python-version: ${{ matrix.python }}
98+
99+
- run: gem install bundler
100+
101+
- run: conda install numpy
102+
103+
- run: bundle install
104+
105+
- run: bundle exec rake compile
106+
107+
- run: python lib/pycall/python/investigator.py
108+
109+
- run: bundle exec rake
110+
env:
111+
PYTHON: python

0 commit comments

Comments
 (0)