Skip to content

Thoughts on end2end training #18

Thoughts on end2end training

Thoughts on end2end training #18

Workflow file for this run

name: Ubuntu
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
test:
name: Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Test
run: |
cd src
pytest test_unit.py --doctest-modules --junitxml=../junit/test-results-${{ matrix.os }}.xml
- name: Upload test results
if: ${{ always() }}
uses: actions/upload-artifact@v6
with:
name: pytest-results-${{ matrix.os }}
path: junit/test-results-${{ matrix.os }}.xml
- name: Test Report
uses: dorny/test-reporter@v2
if: ${{ always() }}
with:
name: PyTorch Unit Tests (${{ matrix.os }})
path: junit/test-results-${{ matrix.os }}.xml
reporter: jest-junit
fail-on-error: "false"