Skip to content

Commit 5cc2c97

Browse files
committed
ci: check cross lib compatibility
1 parent 7d86716 commit 5cc2c97

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,37 @@ jobs:
7272
run: |
7373
pytest pins -m 'fs_rsc and not skip_on_github'
7474
75+
check-cross-compatibility:
76+
name: "Check cross lib compatibility"
77+
runs-on: ubuntu-latest
78+
steps:
79+
- uses: actions/checkout@v2
80+
81+
# r ---
82+
83+
- uses: r-lib/actions/setup-r@v2
84+
with:
85+
r-version: '3.5.3'
86+
- name: Install R dependencies
87+
run: "install.packages('pins')"
88+
shell: Rscript {0}
89+
90+
# python ---
91+
92+
- uses: actions/setup-python@v2
93+
with:
94+
python-version: 3.8
95+
- name: Install py dependencies
96+
run: |
97+
python -m pip install --upgrade pip
98+
python -m pip install -r requirements/dev.txt
99+
python -m pip install -e .
100+
101+
# write and test ---
102+
103+
- name: Run script/ci-compat-check
104+
run: make ci-compat-check
105+
75106
build-docs:
76107
name: "Build Docs"
77108
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)