Skip to content

Merge branch 'feature/ui_rework' into develop #74

Merge branch 'feature/ui_rework' into develop

Merge branch 'feature/ui_rework' into develop #74

Workflow file for this run

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/