-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
d9e289a
commit 30f9cc4
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |