summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-23 22:56:38 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-23 23:06:49 +0200
commit682ec6d65c1e96bcaa8796c244e8948145e961eb (patch)
treef9620c1b7ba127d3b860cf2f4071f61f5c5c6d0c
parent0d568964df989156fe6d9efb179fa07e405e46c9 (diff)
downloadastroid-git-682ec6d65c1e96bcaa8796c244e8948145e961eb.tar.gz
Apply hashing and depencencies suggestions (review #947)
-rw-r--r--.github/workflows/ci.yaml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 8ca9212f..ae92dff4 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -31,8 +31,8 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::base-venv-${{ env.CACHE_VERSION }}-${{
- hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt')
- }}"
+ hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt',
+ 'requirements_test_brain.txt', 'requirements_test_pre_commit.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -49,7 +49,7 @@ jobs:
python -m venv venv
. venv/bin/activate
python -m pip install -U pip setuptools wheel
- pip install -U -r requirements_test.txt
+ pip install -U -r requirements_test.txt -r requirements_test_brain.txt
- name: Generate pre-commit restore key
id: generate-pre-commit-key
run: >-
@@ -132,8 +132,8 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
- hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt')
- }}"
+ hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt',
+ 'requirements_test_brain.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -255,8 +255,8 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
- hashFiles('setup.cfg', 'requirements_test_min.txt')
- }}"
+ hashFiles('setup.cfg', 'requirements_test_min.txt',
+ 'requirements_test_brain.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4
@@ -273,7 +273,7 @@ jobs:
python -m venv venv
. venv\\Scripts\\activate
python -m pip install -U pip setuptools wheel
- pip install -U -r requirements_test_min.txt
+ pip install -U -r requirements_test_min.txt -r requirements_test_brain.txt
pytest-windows:
name: Run tests Python ${{ matrix.python-version }} (Windows)
@@ -333,8 +333,8 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
- hashFiles('setup.cfg', 'requirements_test_min.txt')
- }}"
+ hashFiles('setup.cfg', 'requirements_test_min.txt',
+ 'requirements_test_brain.txt', 'requirements_test_pre_commit.txt') }}"
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache@v2.1.4