Skip to content

Commit 64e2339

Browse files
committed
ci pycall: remove needless codes
1 parent 4aa099d commit 64e2339

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

.github/workflows/pycall.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ name: CI with matplotlib and pandas
22

33
on:
44
push:
5-
branches:
6-
- master
75
pull_request:
8-
types:
9-
- opened
10-
- synchronize
11-
- reopened
126

137
jobs:
148
test:
@@ -23,6 +17,7 @@ jobs:
2317
- ubuntu-latest
2418
- ubuntu-22.04
2519
ruby:
20+
- debug
2621
- 3.4
2722
- 3.3
2823
- 3.2
@@ -31,8 +26,6 @@ jobs:
3126
- 3.x
3227
python_architecture:
3328
- x64
34-
include:
35-
- { os: ubuntu-latest , ruby: debug , python: 3.x , python_architecture: x64 }
3629

3730
steps:
3831
- uses: actions/checkout@v4
@@ -49,28 +42,9 @@ jobs:
4942
architecture: ${{ matrix.python_architecture }}
5043

5144
- uses: actions/cache@v4
52-
if: runner.os == 'Linux'
5345
with:
5446
path: ~/.cache/red-datasets
55-
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
56-
restore-keys: ${{ runner.os }}-
57-
58-
- uses: actions/cache@v4
59-
if: |
60-
runner.os == 'macOS'
61-
with:
62-
path: |
63-
~/Library/Caches/red-datasets
64-
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
65-
restore-keys: ${{ runner.os }}-
66-
67-
- uses: actions/cache@v4
68-
if: |
69-
runner.os == 'Windows'
70-
with:
71-
path: |
72-
~/AppData/red-datasets
73-
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
47+
key: ${{ runner.os }}-${{ hashFiles('charty.gemspec') }}
7448
restore-keys: ${{ runner.os }}-
7549

7650
- run: sudo apt install build-essential libsqlite3-dev
@@ -87,4 +61,3 @@ jobs:
8761
- run: bundle exec rake
8862
env:
8963
PYTHON: python
90-
continue-on-error: ${{ matrix.python == '2.x' }}

0 commit comments

Comments
 (0)