daeger eit load offset error, add offset 8->16 (#96) #188
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: ci | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
# $CONDA is an environment variable pointing to the root of the miniconda directory | |
$CONDA/bin/conda env update --file environment.yml --name base | |
- name: Lint with flake8 | |
run: | | |
$CONDA/bin/conda install flake8 | |
$CONDA/bin/flake8 pyeit/ | |
- name: Test with pytest | |
run: | | |
$CONDA/bin/conda install pytest | |
$CONDA/bin/pytest tests/ | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.9', '3.10', '3.11'] | |
steps: | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
# $CONDA is an environment variable pointing to the root of the miniconda directory | |
$CONDA/bin/conda env update --file environment.yml --name base | |
- name: Build and install | |
run: | | |
$CONDA/bin/python setup.py install | |