Skip to content

Commit

Permalink
Merge pull request #31 from ghislainbourgeois/master
Browse files Browse the repository at this point in the history
Fix tests and DGTPi driver on 64bit
  • Loading branch information
tosca07 committed Feb 11, 2024
2 parents 68ecba5 + 47e3bd4 commit d0a93ed
Show file tree
Hide file tree
Showing 15 changed files with 670 additions and 920 deletions.
36 changes: 12 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Analysing the code with pylama
run: |
pylama
- name: Install tox
run: pip install tox
- name: Run linting with tox
run: tox -e lint

mypy:
runs-on: ubuntu-latest
Expand All @@ -30,14 +26,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Analysing the code with mypy
run: |
mypy --install-types --non-interactive .
- name: Install tox
run: pip install tox
- name: Run type checks with tox
run: tox -e static

unittest:
runs-on: ubuntu-latest
Expand All @@ -48,11 +40,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Run unit tests
run: |
python -m unittest
- name: Install tox
run: pip install tox
- name: Run unit tests with tox
run: tox -e unit

0 comments on commit d0a93ed

Please sign in to comment.