Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# python-ci.yml
name: basic CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-run-pytest:

runs-on: ubuntu-latest

steps:
# First step (unnamed here) is to checkout to the branch that triggered the event
- uses: actions/checkout@v3

# Second step: install python 3.12.9
- name: Set up Python 3.12.9
uses: actions/setup-python@v2
with:
python-version: "3.12.9"

# Third step: install python packages using a requirements file
- name: Install dependencies
run: |
python -m pip install --upgrade pip cython wheel
pip install -r requirements.txt

# Fourth step: run tests with Pytest
- name: Run tests
run: make
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ training_outputs/
.python-version

.env
.envrc

mlflow.db

img_bw_resized.png
img_reconstructed.png
original_resized.png
tests/images/

# OS generated files #
######################
Expand Down
Loading