Skip to content

Commit

Permalink
attempt to enable caching, reduce usage
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jun 25, 2024
1 parent c033dbe commit d61d4e6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ on: push
jobs:
python:
strategy:
fail-fast: false
matrix:
version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-13]
os: [ubuntu-latest, windows-latest]
exclude:
- os: ubuntu-latest
version: 3.6
Expand All @@ -25,6 +24,10 @@ jobs:
version: 3.12
- os: ubuntu-latest
version: graalpy-23.1
- os: macos-latest
version: 3.12
- os: macos-13
version: 3.12
- os: ubuntu-latest
version: graalpy-24.0
- os: ubuntu-latest
Expand All @@ -42,13 +45,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
cache: 'pip'
cache-dependency-path: |
python/requirements.txt
c/requirements.txt
- name: Run tests
run: make pytest LINT=false

javascript:
strategy:
fail-fast: false
matrix:
version: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
os: [ubuntu-latest, windows-latest, macos-latest]
Expand Down Expand Up @@ -95,6 +101,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: 'npm'
cache-dependency-path: 'javascript/package-lock.json'

- name: Run tests
run: make jstest
Expand All @@ -120,6 +128,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache-dependency-path: c/requirements.txt

# - name: Setup Cpp ${{ matrix.compiler }}
# uses: aminya/setup-cpp@v1
Expand Down

0 comments on commit d61d4e6

Please sign in to comment.