Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 280924f

Browse filesBrowse files
Implementation of python's caching (actions#266)
1 parent 52636cf commit 280924f
Copy full SHA for 280924f

File tree

Expand file treeCollapse file tree

75 files changed

+126753
-7699
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

75 files changed

+126753
-7699
lines changed

‎.github/workflows/e2e-cache.yml

Copy file name to clipboard
+93Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: e2e-cache
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
push:
8+
branches:
9+
- main
10+
- releases/*
11+
paths-ignore:
12+
- '**.md'
13+
14+
permissions:
15+
contents: read
16+
jobs:
17+
python-pip-dependencies-caching:
18+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
19+
runs-on: ${{ matrix.os }}
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
os: [ubuntu-latest, windows-latest, macos-latest]
24+
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x']
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Setup Python
28+
uses: ./
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
cache: 'pip'
32+
- name: Install dependencies
33+
run: pip install numpy pandas requests
34+
35+
python-pipenv-dependencies-caching:
36+
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }})
37+
runs-on: ${{ matrix.os }}
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
os: [ubuntu-latest, windows-latest, macos-latest]
42+
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x']
43+
steps:
44+
- uses: actions/checkout@v2
45+
- name: Install pipenv
46+
run: pipx install pipenv
47+
- name: Setup Python
48+
uses: ./
49+
with:
50+
python-version: ${{ matrix.python-version }}
51+
cache: 'pipenv'
52+
- name: Install dependencies
53+
run: pipenv install flake8
54+
55+
python-pip-dependencies-caching-path:
56+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
57+
runs-on: ${{ matrix.os }}
58+
strategy:
59+
fail-fast: false
60+
matrix:
61+
os: [ubuntu-latest, windows-latest, macos-latest]
62+
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x']
63+
steps:
64+
- uses: actions/checkout@v2
65+
- name: Setup Python
66+
uses: ./
67+
with:
68+
python-version: ${{ matrix.python-version }}
69+
cache: 'pip'
70+
cache-dependency-path: __tests__/data/requirements.txt
71+
- name: Install dependencies
72+
run: pip install numpy pandas requests
73+
74+
python-pipenv-dependencies-caching-path:
75+
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }})
76+
runs-on: ${{ matrix.os }}
77+
strategy:
78+
fail-fast: false
79+
matrix:
80+
os: [ubuntu-latest, windows-latest, macos-latest]
81+
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x']
82+
steps:
83+
- uses: actions/checkout@v2
84+
- name: Install pipenv
85+
run: pipx install pipenv
86+
- name: Setup Python
87+
uses: ./
88+
with:
89+
python-version: ${{ matrix.python-version }}
90+
cache: 'pipenv'
91+
cache-dependency-path: '**/requirements-linux.txt'
92+
- name: Install dependencies
93+
run: pipenv install flake8

‎.licensed.yml

Copy file name to clipboardExpand all lines: .licensed.yml
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ allowed:
99
- mit
1010
- cc0-1.0
1111
- unlicense
12+
- 0bsd
1213

1314
reviewed:
1415
npm:

‎.licenses/npm/@actions/cache.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@actions/cache.dep.yml
+20Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@actions/exec.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@actions/exec.dep.yml
+10-20Lines changed: 10 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@actions/glob-0.1.2.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@actions/glob-0.1.2.dep.yml
+20Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@actions/glob-0.2.0.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@actions/glob-0.2.0.dep.yml
+20Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@actions/http-client-1.0.11.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@actions/http-client-1.0.11.dep.yml
+32Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@azure/abort-controller.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@azure/abort-controller.dep.yml
+32Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@azure/core-asynciterator-polyfill.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@azure/core-asynciterator-polyfill.dep.yml
+32Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@azure/core-auth.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@azure/core-auth.dep.yml
+33Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.licenses/npm/@azure/core-http.dep.yml

Copy file name to clipboardExpand all lines: .licenses/npm/@azure/core-http.dep.yml
+33Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.