Removed pyinstaller .psec files of zip versions #28
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: setup python | |
run: brew install [email protected] | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
pip3 install -r requirements.txt && \ | |
pip3 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: python3 -m pytest --import-mode=append tests/ | |