-
Notifications
You must be signed in to change notification settings - Fork 31
66 lines (53 loc) · 1.5 KB
/
pycall.yml
File metadata and controls
66 lines (53 loc) · 1.5 KB
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
name: CI with matplotlib and pandas
on:
push:
pull_request:
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 3.2
versions: '["debug"]'
test:
needs: ruby-versions
name: ${{ matrix.os }}/${{ matrix.ruby }}/${{ matrix.python }}-${{ matrix.python_architecture }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-22.04
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
python:
- 3.x
python_architecture:
- x64
env:
BUNDLE_WITHOUT: "numo"
PYTHON: python
steps:
- uses: actions/checkout@v5
- name: Setup Python
uses: actions/setup-python@v6
with:
architecture: ${{ matrix.python_architecture }}
cache: "pip"
python-version: ${{ matrix.python }}
- run: pip install -r requirements.txt
- run: npm install playwright@latest
- run: ./node_modules/.bin/playwright install
- run: sudo apt install build-essential libsqlite3-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v4
with:
path: ~/.cache/red-datasets
key: ${{ runner.os }}-${{ hashFiles('charty.gemspec') }}
restore-keys: ${{ runner.os }}-
- run: bundle exec test/run.rb -v