diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 498a3eb..0680eb1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,14 +18,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.10' - # ADJUST THIS: install all dependencies (including pdoc) + # ADJUST THIS: install all dependencies - run: pip install torch - - run: pip install -e . + - run: python setup.py install - run: pip install sphinx sphinx_rtd_theme # ADJUST THIS: build your documentation into docs/. # We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here. diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 36f4580..a067692 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,11 +1,11 @@ name: Continuous Integration on: [push] jobs: - build: + buildandtest: strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - os: [ubuntu-latest] #, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -14,13 +14,15 @@ jobs: with: python-version: ${{ matrix.python-version }} # architecture: x64 - - name: Install pytorch - run: pip install torch torchvision torchaudio - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - - name: Install torchTT - run: pip install . + - name: Install pytorch + run: pip install torch torchvision torchaudio + - name: Show installed + run: pip list + - name: Install torchtt + run: python setup.py install - name: Run Test run: python -m pytest tests/