Merge pull request #185 from VincentDary/version-1.0 #1
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
name: test | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
runs-on: ubuntu-latest | |
name: "python=${{ matrix.python-version }}" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Clone cmsis-svd-data | |
shell: bash | |
run: | | |
git clone --depth=1 -b main https://github.com/cmsis-svd/cmsis-svd-data.git | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
cd python | |
pip install --editable .[DEV] | |
- name: Run Unit Tests | |
run: | | |
cd python | |
nose2 -v |