Skip to content

Commit

Permalink
Update GitHub Actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lamr02n committed Sep 19, 2024
1 parent 81e254c commit ead7b28
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_test_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
id: pip-cache
with:
path: ${{ steps.get-pip-path.outputs.id }}
key: ${{ steps.get-pip-path.outputs.id }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('requirements-logcollector.txt') }}-${{ hashFiles('requirements-detector.txt') }}-${{ hashFiles('requirements-prefilter.txt') }}-${{ hashFiles('requirements-inspector.txt') }}
key: ${{ steps.get-pip-path.outputs.id }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements-dev.txt') }}-${{ hashFiles('requirements/requirements-logcollector.txt') }}-${{ hashFiles('requirements/requirements-detector.txt') }}-${{ hashFiles('requirements/requirements-prefilter.txt') }}-${{ hashFiles('requirements/requirements-inspector.txt') }}

- name: Install requirements
if: steps.pip-cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt -r requirements.detector.txt -r requirements.logcollector.txt -r requirements.prefilter.txt -r requirements.inspector.txt
python -m pip install -r requirements/requirements-dev.txt -r requirements/requirements.detector.txt -r requirements/requirements.logcollector.txt -r requirements/requirements.prefilter.txt -r requirements/requirements.inspector.txt
- name: Test
if: startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.python-version, '3.10')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_test_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
id: pip-cache
with:
path: ${{ steps.get-pip-path.outputs.id }}
key: ${{ steps.get-pip-path.outputs.id }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('requirements-logcollector.txt') }}-${{ hashFiles('requirements-detector.txt') }}-${{ hashFiles('requirements-prefilter.txt') }}-${{ hashFiles('requirements-inspector.txt') }}
key: ${{ steps.get-pip-path.outputs.id }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements-dev.txt') }}-${{ hashFiles('requirements/requirements-logcollector.txt') }}-${{ hashFiles('requirements/requirements-detector.txt') }}-${{ hashFiles('requirements/requirements-prefilter.txt') }}-${{ hashFiles('requirements/requirements-inspector.txt') }}

- name: Install requirements
if: steps.pip-cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml
python -m pip install -r requirements-dev.txt -r requirements.detector.txt -r requirements.logcollector.txt -r requirements.prefilter.txt -r requirements.inspector.txt
python -m pip install -r requirements/requirements-dev.txt -r requirements/requirements.detector.txt -r requirements/requirements.logcollector.txt -r requirements/requirements.prefilter.txt -r requirements/requirements.inspector.txt
- name: Test
# On other versions then 3.9, we test only. (without coverage generation)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install requirements
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt -r requirements.detector.txt -r requirements.logcollector.txt -r requirements.prefilter.txt -r requirements.inspector.txt
python -m pip install -r requirements/requirements-dev.txt -r requirements/requirements.detector.txt -r requirements/requirements.logcollector.txt -r requirements/requirements.prefilter.txt -r requirements/requirements.inspector.txt
- name: Test
# On other versions then 3.9, we test only. (without coverage generation)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
id: pip-cache
with:
path: ${{ steps.get-pip-path.outputs.id }}
key: ${{ steps.get-pip-path.outputs.id }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('requirements-logcollector.txt') }}-${{ hashFiles('requirements-detector.txt') }}-${{ hashFiles('requirements-prefilter.txt') }}-${{ hashFiles('requirements-inspector.txt') }}
key: ${{ steps.get-pip-path.outputs.id }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements-dev.txt') }}-${{ hashFiles('requirements/requirements-logcollector.txt') }}-${{ hashFiles('requirements/requirements-detector.txt') }}-${{ hashFiles('requirements/requirements-prefilter.txt') }}-${{ hashFiles('requirements/requirements-inspector.txt') }}

- name: Install requirements
if: steps.pip-cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt -r requirements.detector.txt -r requirements.logcollector.txt -r requirements.prefilter.txt -r requirements.inspector.txt
python -m pip install -r requirements/requirements-dev.txt -r requirements/requirements.detector.txt -r requirements/requirements.logcollector.txt -r requirements/requirements.prefilter.txt -r requirements/requirements.inspector.txt
- name: Test
if: startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.python-version, '3.10')
Expand Down

0 comments on commit ead7b28

Please sign in to comment.