Skip to content

Commit 6c25875

Browse files
committed
CI/CD: Only routinely test against the development version of PyInstaller.
Given that everything is pinned, there is very little point in testing stable PyInstaller.
1 parent 50e3f17 commit 6c25875

File tree

3 files changed

+6
-43
lines changed

3 files changed

+6
-43
lines changed

.github/workflows/macos-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: [3.6, 3.7, 3.8, 3.9]
19-
pyinstaller: [PyInstaller, "https://github.com/pyinstaller/pyinstaller/archive/develop.zip"]
19+
pyinstaller: ["https://github.com/pyinstaller/pyinstaller/archive/develop.zip"]
2020
fail-fast: false
2121
steps:
2222
- uses: actions/checkout@v2

.travis.yml

+5-19
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,10 @@ services:
1515
jobs:
1616
fast_finish: true
1717
include:
18-
- &test
19-
stage: PyInstaller stable release
20-
python: 3.9
21-
install:
22-
# Upgrade to the latest pip.
23-
- python -m pip install -U pip setuptools wheel
2418

25-
# Install hooks-contrib
26-
- pip install -e .
27-
- pip install -r requirements-test-libraries.txt
28-
29-
# Install PyInstaller
30-
- pip install pyinstaller
31-
script: |
32-
pyi_version="$(python -m PyInstaller --version)"
33-
if [ "$pyi_version" != *"3.6"* ]; then
34-
python -m PyInstaller.utils.run_tests -c pytest.ini
35-
fi
36-
37-
- <<: *test
19+
- &test
3820
stage: PyInstaller development version
21+
python: 3.9
3922
install: &install-develop
4023
# Upgrade to the latest pip.
4124
- python -m pip install -U pip setuptools wheel
@@ -47,6 +30,9 @@ jobs:
4730
# Install PyInstaller
4831
- pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
4932

33+
script: |
34+
python -m PyInstaller.utils.run_tests -c pytest.ini
35+
5036
- <<: *test
5137
python: 3.8
5238
- <<: *test

appveyor.yml

-23
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,6 @@ environment:
99
APPVEYOR_SAVE_CACHE_ON_ERROR: true
1010

1111
matrix:
12-
- PYTHON: C:\Python39-x64
13-
PYTHON_VERSION: "3.9"
14-
PYTHON_ARCH: 64
15-
INSTALL_URL: pyinstaller # INSTALL_URL is passed straight to pip with `pip install INSTALL_URL`.
16-
USE_DEV: "False"
17-
18-
- PYTHON: C:\Python38-x64
19-
PYTHON_VERSION: "3.8"
20-
PYTHON_ARCH: 64
21-
INSTALL_URL: pyinstaller # INSTALL_URL is passed straight to pip with `pip install INSTALL_URL`.
22-
USE_DEV: "False"
23-
24-
- PYTHON: C:\Python37-x64
25-
PYTHON_VERSION: "3.7"
26-
PYTHON_ARCH: 64
27-
INSTALL_URL: pyinstaller # INSTALL_URL is passed straight to pip with `pip install INSTALL_URL`.
28-
USE_DEV: "False"
29-
30-
- PYTHON: C:\Python36-x64
31-
PYTHON_VERSION: "3.6"
32-
PYTHON_ARCH: 64
33-
INSTALL_URL: pyinstaller
34-
USE_DEV: "False"
3512

3613
- PYTHON: C:\Python39-x64
3714
PYTHON_VERSION: "3.9"

0 commit comments

Comments
 (0)