Skip to content

Commit

Permalink
best practice improvements for how file protocol is handled before in…
Browse files Browse the repository at this point in the history
…voking selenium; adding caching for both windows/macos deps
  • Loading branch information
mitchelbaker-cisa committed Aug 1, 2024
1 parent a3f428f commit bf49bad
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 34 deletions.
7 changes: 0 additions & 7 deletions .github/actions/setup-dependencies-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ inputs:
runs:
using: "composite"
steps:
- name: Cache packages
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip=${{ hashFiles("**/requirements.txt") }}
restore-keys: ${{ runner.os }}-pip-

- name: Setup virtualenv
shell: bash
run: |
Expand Down
7 changes: 0 additions & 7 deletions .github/actions/setup-dependencies-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ inputs:
runs:
using: "composite"
steps:
- name: Cache packages
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip=${{ hashFiles("**/requirements.txt") }}
restore-keys: ${{ runner.os }}-pip-

- name: Setup virtualenv
shell: powershell
run: |
Expand Down
18 changes: 0 additions & 18 deletions .github/actions/setup-python/action.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/run_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
uses: ./.github/actions/setup-python
with:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "requirements.txt"

- name: Setup Dependencies (Windows)
Expand Down

0 comments on commit bf49bad

Please sign in to comment.