Skip to content

Commit c9741f1

Browse files
authored
Merge pull request #132 from mrkn/conda_ci
CI: Add job with conda
2 parents 7432fbe + 71f124c commit c9741f1

File tree

3 files changed

+44
-84
lines changed

3 files changed

+44
-84
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

.travis.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# PyCall: Calling Python functions from the Ruby language
77

88
[![Build Status](https://github.com/mrkn/pycall.rb/workflows/CI/badge.svg)](https://github.com/mrkn/pycall.rb/actions?query=workflow%3ACI)
9-
[![Build Status](https://travis-ci.org/mrkn/pycall.rb.svg?branch=master)](https://travis-ci.org/mrkn/pycall.rb)
109
[![Build status](https://ci.appveyor.com/api/projects/status/0fad23u4qj1yr49e/branch/master?svg=true)](https://ci.appveyor.com/project/mrkn/pycall-rb/branch/master)
1110

1211
This library provides the features to directly call and partially interoperate

0 commit comments

Comments
 (0)