Skip to content

Commit

Permalink
Update GitHub Actions workflow to support multiple OS environments an…
Browse files Browse the repository at this point in the history
…d upgrade cache action version

- Modified the CI workflow to include macOS and Windows in the OS matrix, enhancing cross-platform compatibility.
- Upgraded the actions/cache from v2 to v3 for improved caching performance and features.
- These changes improve the reliability and efficiency of the CI process.
  • Loading branch information
saleh-mir committed Jan 4, 2025
1 parent b897605 commit 6c33c9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
# os: [ubuntu-latest]
include:
- os: ubuntu-latest
path: ~/.cache/pip
Expand All @@ -39,7 +39,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: ${{ matrix.path }}
Expand Down

0 comments on commit 6c33c9a

Please sign in to comment.