mirror of
https://github.com/karpathy/nanochat.git
synced 2026-04-03 22:25:27 +00:00
Modify CI workflow for Windows and Python 3.13
Updated GitHub Actions workflow to run only on Windows with Python 3.13. Removed caching step for pip dependencies.
This commit is contained in:
parent
8b2ccb65b3
commit
13234ede67
14
.github/workflows/base.yml
vendored
14
.github/workflows/base.yml
vendored
|
|
@ -17,8 +17,8 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
python-version: ['3.10', '3.11', '3.12' , '3.13']
|
||||
os: [windows-latest] # ubuntu-latest, macos-latest,
|
||||
python-version: [ '3.13'] # '3.10', '3.11', '3.12' ,
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
|
@ -69,12 +69,6 @@ jobs:
|
|||
|
||||
- name: Run pytest
|
||||
run: |
|
||||
python -m pytest tests/ --maxfail=5 --disable-warnings
|
||||
python -m pytest tests/ --maxfail=5
|
||||
|
||||
|
||||
- name: Cache pip dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user