Skip to content

Introduce CI/CD for TensorFLow version #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 13, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
strategy:
# You can use PyPy versions in python-version. For example, pypy2 and pypy3
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Run Tests

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

jobs:
build:
Expand All @@ -11,22 +13,22 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-11, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"] #3.9 only failing for tables on macos and windows; mwm 6302021
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12", "3.13"]
include:
- os: ubuntu-latest
path: ~/.cache/pip
- os: macos-11
- os: macos-latest
path: ~/Library/Caches/pip
- os: windows-latest
path: ~\AppData\Local\pip\Cache

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install ffmpeg
Expand All @@ -40,6 +42,10 @@ jobs:
choco install ffmpeg
fi
shell: bash
- name: Install PyTables through Conda
shell: bash -el {0} # Important: activates the conda environment
run: |
conda install pytables==3.8.0 "numpy<2"
- name: Install and test
run: |
python -m pip install --upgrade pip wheel poetry
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ venv.bak/
.spyderproject
.spyproject

# IDEs configurations
.vscode/*
.idea/*

# Rope project settings
.ropeproject

Expand Down
Loading