Merge branch 'feature/denoising' into develop #107
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: testing | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
pip install -r requirements.txt && \ | |
pip install pytest | |
- name: patch version | |
run: | | |
chmod u+x ./releng/patch_version.sh && \ | |
./releng/patch_version.sh | |
- name: test version | |
run: cat ./graxpert/version.py | |
- name: Run tests | |
run: python -m pytest --import-mode=append tests/ | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
pip install -r requirements.txt && ` | |
pip install pytest | |
- name: patch version | |
run: ./releng/patch_version.ps1 | |
- name: test version | |
run: type ./graxpert/version.py | |
- name: Run tests | |
run: python -m pytest --import-mode=append tests/ | |
test-macos-x86_64: | |
runs-on: macos-11 | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: unbreak python in github actions | |
run: | | |
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
sudo rm -rf /Library/Frameworks/Python.framework/ | |
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3 | |
- name: install dependencies | |
run: | | |
brew install python-tk && \ | |
pip3 install -r requirements.txt | |
pip3 install pytest | |
- name: patch version | |
run: | | |
chmod u+x ./releng/patch_version.sh && \ | |
./releng/patch_version.sh | |
- name: Run tests | |
run: python3 -m pytest --import-mode=append tests/ | |