kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Updated github workflows and library versions
rodzic
c536de6dc8
commit
7c86009b3e
|
@ -13,26 +13,25 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
# os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
os: [ubuntu-latest, ]
|
||||
os: [ubuntu-latest]
|
||||
# python-version: [3.7, 3.8]
|
||||
python-version: [3.9, ]
|
||||
python-version: [3.8, 3.9]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Lint with pylint
|
||||
run: |
|
||||
pip install pylint
|
||||
pylint --exit-zero NanoVNASaver
|
||||
- name: Unittests / Coverage
|
||||
run: |
|
||||
pip install pytest-cov
|
||||
pytest --cov=NanoVNASaver
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Lint with pylint
|
||||
run: |
|
||||
pip install pylint
|
||||
pylint --exit-zero NanoVNASaver
|
||||
- name: Unittests / Coverage
|
||||
run: |
|
||||
pip install pytest-cov
|
||||
pytest --cov=NanoVNASaver
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Install python
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
@ -23,7 +23,7 @@ jobs:
|
|||
run: |
|
||||
python3.9 -m venv build
|
||||
. build/bin/activate
|
||||
python -m pip install pip==22.3.1 setuptools==65.6.3
|
||||
python -m pip install pip==23.0 setuptools==67.0.0
|
||||
pip install -r requirements.txt
|
||||
pip install PyInstaller==5.7.0
|
||||
- name: Build binary
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Install python
|
||||
run: |
|
||||
sudo add-apt-repository ppa:deadsnakes/ppa
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
run: |
|
||||
python3.11 -m venv build
|
||||
. build/bin/activate
|
||||
python -m pip install pip==22.3.1 setuptools==65.6.3
|
||||
python -m pip install pip==23.0 setuptools==67.0.0
|
||||
pip install -r requirements.txt
|
||||
pip install PyInstaller==5.7.0
|
||||
- name: Build binary
|
||||
|
|
|
@ -11,14 +11,14 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.11
|
||||
- name: Install dependencies and pyinstall
|
||||
run: |
|
||||
python -m pip install pip==22.3.1 setuptools==65.6.3
|
||||
python -m pip install pip==23.0 setuptools==67.0.0
|
||||
pip install -r requirements.txt
|
||||
pip install PyInstaller==5.7.0
|
||||
- name: Build binary
|
||||
|
|
|
@ -14,15 +14,15 @@ jobs:
|
|||
arch: [x64, x86]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.11
|
||||
python-version: 3.10
|
||||
architecture: ${{ matrix.arch }}
|
||||
- name: Install dependencies and pyinstall
|
||||
run: |
|
||||
python -m pip install pip==22.3.1 setuptools==65.6.3
|
||||
python -m pip install pip==23.0 setuptools==67.0.0
|
||||
pip install -r requirements.txt
|
||||
pip install PyInstaller==5.7.0
|
||||
- name: Build binary
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pyserial==3.5
|
||||
PyQt5==5.15.7
|
||||
PyQt5==5.15.8
|
||||
numpy==1.24.1
|
||||
scipy==1.10.0
|
||||
Cython==0.29.33
|
||||
|
|
Ładowanie…
Reference in New Issue