Skip to content

Commit

Permalink
ci: add CI run to test currently failing installation scenario
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yarikoptic committed Nov 7, 2024
1 parent d9e289a commit 30f9cc4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/test-scenarios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Test-scenarios

on:
pull_request:
push:
branches:
- master
schedule:
- cron: '0 6 * * *'

defaults:
run:
shell: bash

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.12'
os: ubuntu-latest
scenario: miniconda --channel conda-forge --python-match minor--batch git-annex -m conda
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Run scenario
if: matrix.toxenv == 'py'
run: ./src/datalad_installer.py ${{ matrix.scenario }}
env:
GITHUB_TOKEN: ${{ secrets.GH_DOWNLOAD_TOKEN }}

# vim:set et sts=2:

0 comments on commit 30f9cc4

Please sign in to comment.