Skip to content

Commit

Permalink
Merge pull request #203 from Carreau/update-CI
Browse files Browse the repository at this point in the history
Update actions versions and test on 3.10.
  • Loading branch information
Carreau authored Aug 2, 2022
2 parents 9eb0da4 + ef8bcd0 commit a6b966d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and update Python dependencies on Python 3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["2.7", "3.7", "3.8", "3.9"]
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"]
include:
- os: macos-latest
python-version: "3.9"
python-version: "3.10"

env:
DEBUG_TEST_PYFLYBY: 1

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and update Python dependencies on Python 2
Expand All @@ -46,7 +46,7 @@ jobs:
python -m pytest --cov=pyflyby --cov-report=xml --doctest-modules --maxfail=3 lib tests
- uses: codecov/codecov-action@v2
- name: Build docs
if: ${{ matrix.python-version == '3.9'}}
if: ${{ matrix.python-version == '3.10'}}
run: |
pip install sphinx sphinx_rtd_theme sphinx-autodoc-typehints
cd doc
Expand Down
1 change: 0 additions & 1 deletion tests/test_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -4183,7 +4183,6 @@ def test_debug_postmortem_tab_completion_1(frontend):
""", frontend=frontend)


@retry
@pytest.mark.xfail(
sys.version_info[0] == 3,
reason="[PYFLYBY] import base64 is not triggered at the same time depending on python versions",
Expand Down

0 comments on commit a6b966d

Please sign in to comment.