Skip to content

Commit a6a1180

Browse files
committed
ci pycall: simplify
1 parent ed9eb38 commit a6a1180

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/pycall.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,37 +30,37 @@ jobs:
3030
python_architecture:
3131
- x64
3232

33+
env:
34+
BUNDLE_WITHOUT: "nmatrix numo"
35+
PYTHON: python
36+
3337
steps:
3438
- uses: actions/checkout@v4
3539

36-
- name: Setup Ruby
37-
uses: ruby/setup-ruby@v1
38-
with:
39-
ruby-version: ${{ matrix.ruby }}
40-
4140
- name: Setup Python
4241
uses: actions/setup-python@v5
4342
with:
44-
python-version: ${{ matrix.python }}
4543
architecture: ${{ matrix.python_architecture }}
44+
cache: "pip"
45+
python-version: ${{ matrix.python }}
4646

47-
- uses: actions/cache@v4
48-
with:
49-
path: ~/.cache/red-datasets
50-
key: ${{ runner.os }}-${{ hashFiles('charty.gemspec') }}
51-
restore-keys: ${{ runner.os }}-
52-
53-
- run: sudo apt install build-essential libsqlite3-dev
47+
- run: pip install -r requirements.txt
5448

5549
- run: npm install playwright@latest
5650
- run: ./node_modules/.bin/playwright install
5751

58-
- run: pip install --user matplotlib pandas
52+
- run: sudo apt install build-essential libsqlite3-dev
5953

60-
- run: bundle install --jobs 4 --retry 3 --without "nmatrix numo"
54+
- name: Setup Ruby
55+
uses: ruby/setup-ruby@v1
56+
with:
57+
bundler-cache: true
58+
ruby-version: ${{ matrix.ruby }}
6159

62-
- run: python -V
60+
- uses: actions/cache@v4
61+
with:
62+
path: ~/.cache/red-datasets
63+
key: ${{ runner.os }}-${{ hashFiles('charty.gemspec') }}
64+
restore-keys: ${{ runner.os }}-
6365

6466
- run: bundle exec rake
65-
env:
66-
PYTHON: python

0 commit comments

Comments
 (0)