-
Notifications
You must be signed in to change notification settings - Fork 28
88 lines (73 loc) · 2.01 KB
/
pycall.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: CI with matplotlib and pandas
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test:
name: ${{ matrix.os }}/${{ matrix.ruby }}/${{ matrix.python }}-${{ matrix.python_architecture }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-20.04
ruby:
- 3.3
- 3.2
- 3.1
python:
- 3.x
python_architecture:
- x64
include:
- { os: ubuntu-latest , ruby: debug , python: 3.x , python_architecture: x64 }
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.python_architecture }}
- uses: actions/cache@v2
if: runner.os == 'Linux'
with:
path: ~/.cache/red-datasets
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
restore-keys: ${{ runner.os }}-
- uses: actions/cache@v2
if: |
runner.os == 'macOS'
with:
path: |
~/Library/Caches/red-datasets
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
restore-keys: ${{ runner.os }}-
- uses: actions/cache@v2
if: |
runner.os == 'Windows'
with:
path: |
~/AppData/red-datasets
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
restore-keys: ${{ runner.os }}-
- run: sudo apt install build-essential libsqlite3-dev
- run: npm install playwright@latest
- run: ./node_modules/.bin/playwright install
- run: pip install --user matplotlib pandas
- run: bundle install --jobs 4 --retry 3 --without "nmatrix numo"
- run: python -V
- run: bundle exec rake
env:
PYTHON: python
continue-on-error: ${{ matrix.python == '2.x' }}