workflows: use current (3.8) python
now the need for 3.5 has been fixed
This commit is contained in:
parent
aa10e5c334
commit
ffe73a4c3f
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -16,10 +16,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
- name: Set up Python 3.5
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.5
|
python-version: 3.8
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y eatmydata
|
sudo apt-get install -y eatmydata
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
make -C ports/unix -j2
|
make -C ports/unix -j2
|
||||||
make -C ports/unix coverage -j2
|
make -C ports/unix coverage -j2
|
||||||
- name: Test all
|
- name: Test all
|
||||||
run: MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
|
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
|
||||||
working-directory: tests
|
working-directory: tests
|
||||||
- name: Print failure info
|
- name: Print failure info
|
||||||
run: |
|
run: |
|
||||||
@ -54,10 +54,10 @@ jobs:
|
|||||||
working-directory: tests
|
working-directory: tests
|
||||||
if: failure()
|
if: failure()
|
||||||
- name: Native Tests
|
- name: Native Tests
|
||||||
run: MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native
|
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native
|
||||||
working-directory: tests
|
working-directory: tests
|
||||||
- name: mpy Tests
|
- name: mpy Tests
|
||||||
run: MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
|
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
|
||||||
working-directory: tests
|
working-directory: tests
|
||||||
- name: Docs
|
- name: Docs
|
||||||
run: sphinx-build -E -W -b html . _build/html
|
run: sphinx-build -E -W -b html . _build/html
|
||||||
@ -244,10 +244,10 @@ jobs:
|
|||||||
- "xinabox_cs11"
|
- "xinabox_cs11"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python 3.5
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.5
|
python-version: 3.8
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y gettext
|
sudo apt-get install -y gettext
|
||||||
@ -290,10 +290,10 @@ jobs:
|
|||||||
- "fomu"
|
- "fomu"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python 3.5
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.5
|
python-version: 3.8
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y gettext
|
sudo apt-get install -y gettext
|
||||||
|
4
.github/workflows/create_website_pr.yml
vendored
4
.github/workflows/create_website_pr.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
- name: Set up Python 3.5
|
- name: Set up Python 3.8
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.5
|
python-version: 3.8
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
pip install requests sh click
|
pip install requests sh click
|
||||||
|
Loading…
Reference in New Issue
Block a user