Skip to content

Commit 843a9e8

Browse files
committed
ci: add CI run to test currently failing installation scenario
ref: #206 #209 seems could provide a workaround but I think we should test/workaround within datalad-installer without requiring adjustment of each similar invocation
1 parent d9e289a commit 843a9e8

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/test-scenarios.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test-scenarios
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
schedule:
9+
- cron: '0 6 * * *'
10+
11+
defaults:
12+
run:
13+
shell: bash
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
test:
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
include:
26+
- python-version: '3.12'
27+
os: ubuntu-latest
28+
scenario: miniconda --channel conda-forge --python-match minor --batch git-annex -m conda
29+
steps:
30+
- name: Check out repository
31+
uses: actions/checkout@v4
32+
33+
- name: Set up Python
34+
uses: actions/setup-python@v5
35+
with:
36+
python-version: ${{ matrix.python-version }}
37+
38+
- name: Run scenario
39+
run: ./src/datalad_installer.py ${{ matrix.scenario }}
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GH_DOWNLOAD_TOKEN }}
42+
43+
# vim:set et sts=2:

0 commit comments

Comments
 (0)