Skip to content

Bump version

Bump version #120

Workflow file for this run

name: Lint and test
on:
workflow_dispatch:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Pull docker image 🐳
run: docker pull cmsml/cmsml
- name: Lint 🔍
run: bash tests/docker.sh cmsml/cmsml tests/lint.sh
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
versions:
# scan python versions
- {tag: "3.7", tf: "default"}
- {tag: "3.8", tf: "default"}
- {tag: "3.9", tf: "default"}
- {tag: "3.10", tf: "default"}
- {tag: "3.11", tf: "default"}
# scan tf versions
- {tag: "3.9_base", tf: "2.5.3"}
- {tag: "3.9_base", tf: "2.6.5"}
- {tag: "3.9_base", tf: "2.11.1"}
- {tag: "3.9_base", tf: "2.12.1"}
- {tag: "3.9_base", tf: "2.13.0"}
name: test (image=${{ matrix.versions.tag }}, tf=${{ matrix.versions.tf }})
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Pull docker image 🐳
run: docker pull cmsml/cmsml:${{ matrix.versions.tag }}
- name: Test 🎰
run: bash tests/docker.sh cmsml/cmsml:${{ matrix.versions.tag }} "[ '${{ matrix.versions.tf }}' = 'default' ] || pip install -U tensorflow=='${{ matrix.versions.tf }}'; pytest -n 2 tests"