Skip to content

Merge pull request #125 from gpauloski/pre-commit-ci-update-config #166

Merge pull request #125 from gpauloski/pre-commit-ci-update-config

Merge pull request #125 from gpauloski/pre-commit-ci-update-config #166

Workflow file for this run

name: integration
on:
push:
branches: [main, test-me-*]
tags:
pull_request:
workflow_dispatch:
jobs:
integration:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Get pip cache dir
id: pip-cache-dir
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
- name: Use pip cache
id: pip-cache
uses: actions/cache@v3
with:
path: ${{ env.PIP_CACHE_DIR }}
key: integration-ubuntu-latest-pip-3.10-${{ hashFiles('pyproject.toml') }}
restore-keys: |
integration-ubuntu-latest-pip-3.10
- name: Install KFAC
run: python -mpip install . --extra-index-url https://download.pytorch.org/whl/cpu
- name: Install Dependencies
run: python -mpip install --upgrade torchvision
- name: Run MNIST Integration Test
run: python tests/integration/mnist_integration_test.py