Skip to content

Merge pull request #383 from incf-nidash/dependabot/github_actions/ac… #170

Merge pull request #383 from incf-nidash/dependabot/github_actions/ac…

Merge pull request #383 from incf-nidash/dependabot/github_actions/ac… #170

Workflow file for this run

name: PyNIDM Testing
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: Test
run: tox -e py3 -- --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false