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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
image-publish:
uses: WIPACrepo/wipac-dev-workflows/.github/workflows/image-publish.yml@v1.6
uses: WIPACrepo/wipac-dev-workflows/.github/workflows/image-publish.yml@v1.8
permissions: # for GITHUB_TOKEN
packages: write
with:
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci/cd

on:
# only on branch pushes
push:
branches:
- '**'
Expand Down Expand Up @@ -76,11 +77,13 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit ('github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py3 }}
- uses: WIPACrepo/wipac-dev-mypy-action@v2.0


#############################################################################
# PACKAGING
#############################################################################
Expand All @@ -95,7 +98,7 @@ jobs:
- uses: WIPACrepo/wipac-dev-py-setup-action@v5.2
with:
mode: PACKAGING
python_min: 3.9
python_min: '3.10'
keywords_comma: "WIPAC, IceCube, Skymap Scanner, Reconstruction, IceTray, EWMS"
auto_mypy_option: True

Expand All @@ -106,6 +109,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand All @@ -127,7 +131,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # git history + tags -> setuptools-scm can get correct version (optional)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -183,6 +187,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -415,6 +420,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -542,6 +548,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -659,6 +666,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -706,6 +714,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # lock to triggered commit (github.ref is dynamic)
fetch-depth: 0 # setuptools-scm needs to access git tags
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -786,7 +795,7 @@ jobs:
test-run-realistic,
test-run-single-pixel,
]
uses: WIPACrepo/wipac-dev-workflows/.github/workflows/tag-and-release.yml@v1.5
uses: WIPACrepo/wipac-dev-workflows/.github/workflows/tag-and-release.yml@v1.8
permissions: # for GITHUB_TOKEN
contents: write
with:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN --mount=type=bind,source=.,target=/src,rw \
pip install /src[rabbitmq]

# optional diagnostics
RUN python --version
RUN pip freeze
RUN ls -la $WORKDIR

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
]
dynamic = ["version"] # do not edit — autogenerated by wipac-dev-py-setup-action
name = "skymap-scanner" # do not edit — autogenerated by wipac-dev-py-setup-action
requires-python = ">=3.9, <3.14" # do not edit — autogenerated by wipac-dev-py-setup-action
requires-python = ">=3.10, <3.14" # do not edit — autogenerated by wipac-dev-py-setup-action
keywords = [
'WIPAC',
'IceCube',
Expand Down
Loading