mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
Merge pull request #1095 from tahoe-lafs/3746.macos-python-3
Run macOS integration tests for Python 3 Fixes ticket:3746
This commit is contained in:
commit
e28e45174d
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -19,7 +19,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-latest
|
||||||
- macos-latest
|
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
python-version:
|
python-version:
|
||||||
- 2.7
|
- 2.7
|
||||||
@ -27,6 +26,12 @@ jobs:
|
|||||||
- 3.7
|
- 3.7
|
||||||
- 3.8
|
- 3.8
|
||||||
- 3.9
|
- 3.9
|
||||||
|
include:
|
||||||
|
# On macOS don't bother with 3.6-3.8, just to get faster builds.
|
||||||
|
- os: macos-latest
|
||||||
|
python-version: 2.7
|
||||||
|
- os: macos-latest
|
||||||
|
python-version: 3.9
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# See https://github.com/actions/checkout. A fetch-depth of 0
|
# See https://github.com/actions/checkout. A fetch-depth of 0
|
||||||
@ -157,25 +162,23 @@ jobs:
|
|||||||
- 3.6
|
- 3.6
|
||||||
- 3.9
|
- 3.9
|
||||||
include:
|
include:
|
||||||
|
# On macOS don't bother with 3.6, just to get faster builds.
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
python-version: 2.7
|
python-version: 2.7
|
||||||
|
- os: macos-latest
|
||||||
|
python-version: 3.9
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install Tor [Ubuntu]
|
- name: Install Tor [Ubuntu]
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: sudo apt install tor
|
run: sudo apt install tor
|
||||||
|
|
||||||
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
|
|
||||||
if: ${{ ( matrix.os == 'macos-latest' ) && ( matrix.python-version != '2.7' ) }}
|
|
||||||
run: brew install tor
|
|
||||||
|
|
||||||
# TODO: See https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3744.
|
# TODO: See https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3744.
|
||||||
# We have to use an older version of Tor for running integration
|
# We have to use an older version of Tor for running integration
|
||||||
# tests on macOS using Python 2.7. We should stop doing this
|
# tests on macOS.
|
||||||
# when Python 2.7 is dropped.
|
|
||||||
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
|
- name: Install Tor [macOS, ${{ matrix.python-version }} ]
|
||||||
if: ${{ ( matrix.os == 'macos-latest' ) && ( matrix.python-version == '2.7' ) }}
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
run: |
|
run: |
|
||||||
brew extract --version 0.4.5.8 tor homebrew/cask
|
brew extract --version 0.4.5.8 tor homebrew/cask
|
||||||
brew install tor@0.4.5.8
|
brew install tor@0.4.5.8
|
||||||
|
0
newsfragments/3746.minor
Normal file
0
newsfragments/3746.minor
Normal file
Loading…
Reference in New Issue
Block a user