File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change 39
39
GIT_AUTHOR_NAME : CI User
40
40
41
41
jobs :
42
- populate-pip-cache :
43
- runs-on : ubuntu-22.04
44
-
45
- strategy :
46
- fail-fast : false
47
- matrix :
48
- python_version : ["3.9"]
49
-
50
- steps :
51
- - uses : actions/checkout@v3
52
- - uses : actions/setup-python@v4
53
- with :
54
- python-version : " ${{ matrix.python_version }}"
55
-
56
- # There will almost never be a cache hit on the cache key when this job is
57
- # run, as it is the first of all jobs in this workflow. The subsequent
58
- # jobs in this workflow can rely on this cache though.
59
- - name : Save pip's install cache on job completion
60
- uses : actions/cache@v3
61
- with :
62
- path : ~/.cache/pip
63
- key : " ${{ github.run_id }}-${{ matrix.python_version }}"
64
-
65
- - name : Install dependencies
66
- run : |
67
- pip install -r dev-requirements.txt
68
-
69
- # add for mercurial tests
70
- pip install mercurial hg-evolve
71
-
72
- pip freeze
73
-
74
- - name : Install repo2docker
75
- run : |
76
- python -m build --wheel .
77
- pip install dist/*.whl
78
-
79
- pip freeze
80
-
81
42
test :
82
- needs : populate-pip-cache
83
43
runs-on : ubuntu-${{ matrix.ubuntu_version }}
84
44
85
45
strategy :
@@ -112,12 +72,6 @@ jobs:
112
72
with :
113
73
python-version : " ${{ matrix.python_version }}"
114
74
115
- - name : Restore pip's install cache from previous job
116
- uses : actions/cache@v3
117
- with :
118
- path : ~/.cache/pip
119
- key : " ${{ github.run_id }}-${{ matrix.python_version }}"
120
-
121
75
- name : Install dependencies
122
76
run : |
123
77
pip install -r dev-requirements.txt
You can’t perform that action at this time.
0 commit comments