Skip to content

Commit 0abb74e

Browse files
committed
fix: remove old python versions, skip testing in wheels
1 parent ca315e6 commit 0abb74e

3 files changed

Lines changed: 7 additions & 23 deletions

File tree

.github/workflows/conda.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
platform: [ubuntu-latest, macos-latest] # windows-latest,
16-
python-version: ["3.6", "3.8"]
16+
python-version: ["3.8", "3.9", "3.10"]
1717

1818
runs-on: ${{ matrix.platform }}
1919

@@ -78,3 +78,5 @@ jobs:
7878
uses: actions/upload-artifact@v2
7979
with:
8080
path: ${{ env.CONDA_PREFIX }}/conda-bld/*/*.bz2
81+
82+
# TODO - upload to release

.github/workflows/pip.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
platform: [macos-latest, ubuntu-latest] # windows-latest,
16-
python-version: ["2.7", "3.5", "3.8", "3.9"]
15+
platform: [macos-latest, ubuntu-latest]
16+
python-version: ["3.8", "3.9", "3.10"]
1717

1818
runs-on: ${{ matrix.platform }}
1919

@@ -27,26 +27,6 @@ jobs:
2727
- name: Add requirements
2828
run: python -m pip install --upgrade wheel setuptools
2929

30-
# Eventually Microsoft might have an action for setting up
31-
# MSVC, but for now, this action works:
32-
- name: Prepare compiler environment for Windows 🐍 2.7
33-
if: matrix.python-version == 2.7 && runner.os == 'Windows'
34-
uses: ilammy/msvc-dev-cmd@v1
35-
with:
36-
arch: x64
37-
38-
# This makes two environment variables available in the following step(s)
39-
- name: Set Windows 🐍 2.7 environment variables
40-
if: matrix.python-version == 2.7 && runner.os == 'Windows'
41-
shell: bash
42-
run: |
43-
echo "DISTUTILS_USE_SDK=1" >> $GITHUB_ENV
44-
echo "MSSdk=1" >> $GITHUB_ENV
45-
46-
# Damn I wish this worked. When composite actions actually work move to .github/actions/build-moos-core
47-
# - name: Build MOOS
48-
# uses: ./.github/actions/build-moos-core
49-
5030
- name: Checkout MOOS source
5131
uses: actions/checkout@v2
5232
with:

.github/workflows/wheels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,15 @@ jobs:
108108
make install;
109109
popd >& /dev/null;
110110
CIBW_SKIP: pp*
111+
CIBW_TEST_SKIP: "*"
111112
# CIBW_TEST_COMMAND: python {project}/tests/test.py
112113

113114
- name: Build MacOS Wheels
114115
uses: pypa/cibuildwheel@v2.7.0
115116
if: matrix.os == 'macos-latest'
116117
env:
117118
CIBW_SKIP: pp*
119+
CIBW_TEST_SKIP: "*"
118120
# CIBW_TEST_COMMAND: python {project}/tests/test.py
119121

120122
- name: Show files

0 commit comments

Comments
 (0)