File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 19
19
env :
20
20
id : ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
21
21
container :
22
- image : python:3.10.1-bullseye
22
+ image : ubuntu:latest
23
23
options : --privileged
24
+ defaults :
25
+ run :
26
+ shell : bash
24
27
steps :
25
28
- name : Check if already built
26
29
if : ${{ github.event.pull_request.number != null }}
@@ -64,13 +67,12 @@ jobs:
64
67
cd .github
65
68
curl https://codeload.github.com/${{ github.repository }}/tar.gz/master | tar -xz --strip=2 arduino-esp32-master/.github
66
69
67
- # setup-python currently only works on ubuntu images
68
- # - uses: actions/setup-python@v5
69
- # if: ${{ steps.check-tests.outputs.enabled == 'true' }}
70
- # with:
71
- # cache-dependency-path: tests/requirements.txt
72
- # cache: 'pip'
73
- # python-version: '3.10.1'
70
+ - uses : actions/setup-python@v5
71
+ if : ${{ steps.check-tests.outputs.enabled == 'true' }}
72
+ with :
73
+ cache-dependency-path : tests/requirements.txt
74
+ cache : ' pip'
75
+ python-version : ' 3.x'
74
76
75
77
- name : Install dependencies
76
78
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
79
81
pip install -r tests/requirements.txt --extra-index-url https://dl.espressif.com/pypi
80
82
81
83
- name : Get binaries
84
+ if : ${{ steps.check-tests.outputs.enabled == 'true' }}
82
85
id : cache-build-binaries
83
86
uses : actions/cache/restore@v4
84
- if : ${{ steps.check-tests.outputs.enabled == 'true' }}
85
87
with :
86
88
fail-on-cache-miss : true
87
89
key : tests-${{ env.id }}-bin
You can’t perform that action at this time.
0 commit comments