commit
e558c427de
|
@ -28,6 +28,8 @@ jobs:
|
||||||
- name: Run MyPy check
|
- name: Run MyPy check
|
||||||
run: mypy tractor/ --ignore-missing-imports
|
run: mypy tractor/ --ignore-missing-imports
|
||||||
|
|
||||||
|
# test that we can generate a software distribution and install it
|
||||||
|
# thus avoid missing file issues after packaging.
|
||||||
sdist-linux:
|
sdist-linux:
|
||||||
name: 'sdist'
|
name: 'sdist'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -57,7 +59,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python: ['3.9', '3.10']
|
python: ['3.10']
|
||||||
spawn_backend: ['trio', 'mp']
|
spawn_backend: ['trio', 'mp']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -74,47 +76,52 @@ jobs:
|
||||||
run: pip install -U . -r requirements-test.txt -r requirements-docs.txt --upgrade-strategy eager
|
run: pip install -U . -r requirements-test.txt -r requirements-docs.txt --upgrade-strategy eager
|
||||||
|
|
||||||
- name: List dependencies
|
- name: List dependencies
|
||||||
run: pip freeze
|
run: pip list
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx
|
run: pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx
|
||||||
|
|
||||||
# We skip 3.10 on windows for now due to
|
# We skip 3.10 on windows for now due to not having any collabs to
|
||||||
# https://github.com/pytest-dev/pytest/issues/8733
|
# debug the CI failures. Anyone wanting to hack and solve them is very
|
||||||
# some kinda weird `pyreadline` issue..
|
# welcome, but our primary user base is not using that OS.
|
||||||
|
|
||||||
# TODO: use job filtering to accomplish instead of repeated
|
# TODO: use job filtering to accomplish instead of repeated
|
||||||
# boilerplate as is above XD:
|
# boilerplate as is above XD:
|
||||||
# - https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows
|
# - https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows
|
||||||
# - https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
# - https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||||
# - https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idif
|
# - https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idif
|
||||||
testing-windows:
|
# testing-windows:
|
||||||
name: '${{ matrix.os }} Python ${{ matrix.python }} - ${{ matrix.spawn_backend }}'
|
# name: '${{ matrix.os }} Python ${{ matrix.python }} - ${{ matrix.spawn_backend }}'
|
||||||
timeout-minutes: 12
|
# timeout-minutes: 12
|
||||||
runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
os: [windows-latest]
|
# os: [windows-latest]
|
||||||
python: ['3.9', '3.10']
|
# python: ['3.10']
|
||||||
spawn_backend: ['trio', 'mp']
|
# spawn_backend: ['trio', 'mp']
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
|
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup python
|
# - name: Setup python
|
||||||
uses: actions/setup-python@v2
|
# uses: actions/setup-python@v2
|
||||||
with:
|
# with:
|
||||||
python-version: '${{ matrix.python }}'
|
# python-version: '${{ matrix.python }}'
|
||||||
|
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: pip install -U . -r requirements-test.txt -r requirements-docs.txt --upgrade-strategy eager
|
# run: pip install -U . -r requirements-test.txt -r requirements-docs.txt --upgrade-strategy eager
|
||||||
|
|
||||||
- name: List dependencies
|
# # TODO: pretty sure this solves debugger deps-issues on windows, but it needs to
|
||||||
run: pip freeze
|
# # be verified by someone with a native setup.
|
||||||
|
# # - name: Force pyreadline3
|
||||||
|
# # run: pip uninstall pyreadline; pip install -U pyreadline3
|
||||||
|
|
||||||
- name: Run tests
|
# - name: List dependencies
|
||||||
run: pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rs --full-trace
|
# run: pip list
|
||||||
|
|
||||||
|
# - name: Run tests
|
||||||
|
# run: pytest tests/ --spawn-backend=${{ matrix.spawn_backend }} -rsx
|
||||||
|
|
|
@ -567,6 +567,13 @@ Help us push toward the future of distributed `Python`.
|
||||||
- Typed capability-based (dialog) protocols ( see `#196
|
- Typed capability-based (dialog) protocols ( see `#196
|
||||||
<https://github.com/goodboy/tractor/issues/196>`_ with draft work
|
<https://github.com/goodboy/tractor/issues/196>`_ with draft work
|
||||||
started in `#311 <https://github.com/goodboy/tractor/pull/311>`_)
|
started in `#311 <https://github.com/goodboy/tractor/pull/311>`_)
|
||||||
|
- We **recently disabled CI-testing on windows** and need help getting
|
||||||
|
it running again! (see `#327
|
||||||
|
<https://github.com/goodboy/tractor/pull/327>`_). **We do have windows
|
||||||
|
support** (and have for quite a while) but since no active hacker
|
||||||
|
exists in the user-base to help test on that OS, for now we're not
|
||||||
|
actively maintaining testing due to the added hassle and general
|
||||||
|
latency..
|
||||||
|
|
||||||
|
|
||||||
Feel like saying hi?
|
Feel like saying hi?
|
||||||
|
|
Loading…
Reference in New Issue