Commit Graph

113 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
a7e4add602 Simplify. 2022-02-22 11:25:13 -05:00
Itamar Turner-Trauring
84094b5ca0 Try version that Windows uses. 2022-02-16 09:31:12 -05:00
Itamar Turner-Trauring
3a859e3cac Try a version that matches Ubuntu's. 2022-02-15 14:52:01 -05:00
Itamar Turner-Trauring
510102dab1 Maybe we can use modern tor now. 2022-02-15 14:37:18 -05:00
Itamar Turner-Trauring
0928a7993a Rip out Python 2. 2022-02-14 11:02:25 -05:00
Itamar Turner-Trauring
c2c3411dc4 Try to fix Python 2. 2022-02-03 12:57:48 -05:00
Itamar Turner-Trauring
8eb6ab4765 Switch to Python 3.7 as minimal version. 2022-01-24 10:42:09 -05:00
Jean-Paul Calderone
7ec7cd45dd Use "concurrency groups" to auto-cancel redundant builds 2021-10-26 14:10:41 -04:00
Itamar Turner-Trauring
2b83edc5b3 Use macos-10.15 for Python 2.7. 2021-10-04 11:00:16 -04:00
Jean-Paul Calderone
2a6870d772 The name must be pathless, it seems 2021-09-08 09:42:23 -04:00
Jean-Paul Calderone
dd4e6c7741 whitespace 2021-09-08 09:15:28 -04:00
Jean-Paul Calderone
1d4bc54b48 Just upload the log all the time 2021-09-08 09:15:13 -04:00
Jean-Paul Calderone
bcf1c71536 Upload trial's test.log on GitHub Actions 2021-09-08 09:15:02 -04:00
Itamar Turner-Trauring
d51f1f1c5a Try to get faster CI by omitting older Python versions on macOS. 2021-07-07 14:47:39 -07:00
Itamar Turner-Trauring
0acf2483ee Might need older Tor for Python 3 as well. 2021-07-06 10:04:55 -07:00
Itamar Turner-Trauring
a612dcff5a Run macOS integration tests for Python 3. 2021-07-06 09:15:30 -07:00
Sajith Sasidharan
8d461491b8
Merge remote-tracking branch 'origin/master' into 3733.use-newer-netifaces 2021-07-05 10:41:08 -04:00
Sajith Sasidharan
d2fdd92b8b Use older Tor on macOS + Python 2.7 2021-07-05 08:38:31 -04:00
Sajith Sasidharan
f4bba078d5
Merge 'origin/master' into 3733.use-newer-netifaces 2021-06-25 11:11:38 -04:00
Itamar Turner-Trauring
2214e7a59f macOS has issues on Python 3, don't want to fix them in this PR. 2021-06-10 11:52:30 -04:00
Itamar Turner-Trauring
6fdda6163c Run Python 3 integration tests on more than just Linux. 2021-06-10 10:47:17 -04:00
Sajith Sasidharan
6c578df6a9 CI: remove special handling for Python 2.7 + Windows 2021-06-08 14:48:12 -04:00
Itamar Turner-Trauring
39334ebc42 Run tests on Windows with Python 3. 2021-05-25 14:12:40 -04:00
Itamar Turner-Trauring
b330eb3b6f Merge remote-tracking branch 'origin/master' into 3709-even-more-integration-tests-python-3 2021-05-13 11:27:13 -04:00
Itamar Turner-Trauring
dc7caa00c5 Run Python 3 integration tests. 2021-05-13 10:25:48 -04:00
Itamar Turner-Trauring
d7ad72f651 Just do integration tests as part of normal CI runners. 2021-05-12 11:21:22 -04:00
Itamar Turner-Trauring
8902868b90 Skip Windows Python 3 for now. 2021-05-05 13:15:29 -04:00
Itamar Turner-Trauring
f645715b15 Put off pypy3 to a later ticket. 2021-05-05 11:59:06 -04:00
Itamar Turner-Trauring
ea2db971a6 Try to make GitHub Actions automatically use appropriate Tox envs by using
`tox-gh-actions` package.
2021-05-05 10:06:35 -04:00
Itamar Turner-Trauring
8f997870c8 Test newer versions of Python 3, as well as PyPy 3. 2021-05-05 09:47:28 -04:00
Sajith Sasidharan
6d1b95b965 GitHub Actions: add more parenthesis
https://github.community/t/and-operator-in-if-condition/154825
suggests that adding more parens might work.
2021-04-27 16:21:22 -04:00
Sajith Sasidharan
3722b8f628 GitHub Actions: quote architecture
Docs for actions/setup-python seem to do that, although
inconsistently.
2021-04-27 15:52:28 -04:00
Sajith Sasidharan
73d3295a6a GitHub Actions: use 64-bit Python 3.6 to test on Windows 2021-04-27 15:49:25 -04:00
Sajith Sasidharan
65398a2d63 GitHub Actions: update note about Windows again 2021-04-26 17:06:34 -04:00
Sajith Sasidharan
1531bea63f GitHub Actions: update note about Windows
[skip ci]
2021-04-26 16:58:24 -04:00
Sajith Sasidharan
e46e4409c2 GitHub Actions: really use x86 Python on Windows
In a prior commit, I mistakenly used "architecture: x64" instead of
"architecture: x86", and tests actually passed.

That was surprising, because netifaces do not have amd64_win will on
PyPI.  But mystery was solved when itamarst pointed out that netifaces
wheel (that we previously built) is present on pip cache.

But pip cache might be purged one day, and tests will fail again that
day.  We can't have that, so we will try to stick with x86 for now.
2021-04-26 16:39:23 -04:00
Sajith Sasidharan
68603fc015 GitHub Actions: just use x86 Python to test on Windows
I can't figure out the correct GitHub Actions magic incantation^w^w
expression syntax that is needed to isolate (Windows && Python 2.7),
so let's just run also run x86 Python 3.6 on Windows.
2021-04-26 13:41:17 -04:00
Sajith Sasidharan
dec97b3aa1 GitHub Actions: when in doubt, drop some curly braces 2021-04-26 13:35:37 -04:00
Sajith Sasidharan
ed82119f32 GitHub Actions: when in doubt, throw in more parens 2021-04-26 13:14:28 -04:00
Sajith Sasidharan
106976e8cc GitHub Actions: use expression syntax
Per GitHub documentation:

  When you use expressions in an if conditional, you may omit the
  expression syntax (${{ }}) because GitHub automatically evaluates
  the if conditional as an expression, unless the expression contains
  any operators. If the expression contains any operators, the
  expression must be contained within ${{ }} to explicitly mark it for
  evaluation.

https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions
2021-04-26 12:17:25 -04:00
Sajith Sasidharan
196ce5103d GitHub Actions: test with 32-bit Python 2.7 on Windows 2021-04-26 12:00:11 -04:00
Sajith Sasidharan
b707a6ca7b GitHub Actions: do not install vcpython27
Microsoft seems to have pulled the compiler download.
2021-04-26 11:36:51 -04:00
Sajith Sasidharan
5f7c6e4552 Remove Windows exclusion 2021-04-05 18:34:48 -04:00
Sajith Sasidharan
65fd5a4912 Add a note about adding Windows to GitHub Actions test matrix 2021-04-05 14:52:31 -04:00
Sajith Sasidharan
2a62086323 Turn down coveralls verbosity 2021-03-31 19:16:58 -04:00
Sajith Sasidharan
d17f3d36c2 Run coveralls verbosely 2021-03-31 17:57:44 -04:00
Sajith Sasidharan
2e67e07081 Just don't run coverage tests with Python 3.6 + Windows
Another test matrix setup I tried is this:

  jobs:
    coverage:
        matrix:
          os:
            - macos-latest
            - windows-latest
            - ubuntu-latest
          python-version:
            - 2.7
          include:
            - python-version: 3.6
              os:
                - macos-latest
                - ubuntu-latest
            - python-version: 3.6
              os: windows-latest
              experimental: true

But that failed on Python 3.6 + macOS with a simple error message, and
no further explanation: "This check failed".  Huh?

Might simply exclude Windows altogether, because that approach sort of
worked in another experiment.
2021-03-31 16:42:39 -04:00
Sajith Sasidharan
1351a62ac4 Expect coverage tests to fail on Python 3.6 + Windows 2021-03-31 16:13:41 -04:00
Sajith Sasidharan
dd3b95a0bd Add ubuntu-latest to GitHub Actions matrix 2021-03-31 15:55:05 -04:00
Sajith Sasidharan
aebbc52f06 Add Python 3.6 to GitHub Actions test matrix
Let us send more coverage reports to coveralls.io
2021-03-31 15:55:05 -04:00