Skip to content

Commit

Permalink
GH Actions: fix rsync test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Oct 26, 2023
1 parent 0315b8e commit efdac11
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/test_rsync_test_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 2
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: [
'2.7',
'3.5', '3.6',
'3.7', '3.8', '3.9'
'3.7', '3.8', '3.9', '3.12'
]

steps:
Expand All @@ -34,10 +34,24 @@ jobs:
path: rose

- name: Configure Python
id: configure-py
uses: actions/setup-python@v4
continue-on-error: true
with:
python-version: ${{ matrix.python-version }}

- name: Setup mamba
if: steps.configure-py.outcome == 'failure'
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
mamba-version: '*'
channels: conda-forge

- name: Mamba info
if: steps.configure-py.outcome == 'failure'
run: mamba info

- name: Unit Tests
working-directory: rose
run: |
Expand Down

0 comments on commit efdac11

Please sign in to comment.