Skip to content

major update.

major update. #1

Workflow file for this run

name: PyPi CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r build/requirements.txt
- name: Download Data
run: |
wget -O synthD.zip "https://liuonline-my.sharepoint.com/:u:/g/personal/thewe60_liu_se/EfK1PKrQ3X9LgOd_8TSw1g0BINzDadmTxHF_RHKg_31dGw?e=SEKX9X&download=1"
unzip synthD.zip -d ./data
- name: Run PyTorch Training Loop
run: |
python train.py --config ci
- name: Run Unit Tests
run: |
python -m pip install pytest
pytest