-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3456 from GeotrekCE/optimize_ci
optimize CI
- Loading branch information
Showing
4 changed files
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
|
@@ -38,16 +40,16 @@ jobs: | |
~/.cache/pip | ||
~/.wheel_dir | ||
key: ${{ matrix.os }}-pip-${{ matrix.python-version }} | ||
key: pip-${{ matrix.python-version }} | ||
restore-keys: | | ||
${{ matrix.os }}-pip-${{ matrix.python-version }} | ||
pip-${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pip3 wheel --wheel-dir=~/.wheel_dir pip wheel setuptools | ||
pip3 install --find-links=~/.wheel_dir --upgrade pip wheel setuptools | ||
pip3 wheel --wheel-dir=~/.wheel_dir -r requirements-dev.txt | ||
pip3 install --find-links=~/.wheel_dir --upgrade -r requirements-dev.txt | ||
pip3 wheel --wheel-dir=~/.wheel_dir pip-tools -c requirements-dev.txt | ||
pip3 install --find-links=~/.wheel_dir --upgrade pip-tools -c requirements-dev.txt | ||
- name: Check dependency graph | ||
run: | | ||
|
@@ -73,6 +75,3 @@ jobs: | |
if: ${{ github.actor == 'dependabot[bot]' }} | ||
with: | ||
commit_message: Apply dependencies update by dependabot | ||
commit_user_name: dependabot[bot] | ||
commit_user_email: [email protected] | ||
commit_author: dependabot[bot] <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters