Skip to content
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

Add linting and testing workflow for charts and webapp #4

Merged
merged 7 commits into from
Oct 16, 2024

Conversation

emmanuelmathot
Copy link
Contributor

No description provided.

pyproject.toml Outdated
@@ -0,0 +1,44 @@
[project]
name = "titiler"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name = "titiler"
name = "polder"

COPY webapp/package.json /app
RUN yarn install
COPY webapp/. /app
CMD ["yarn", "run", "start"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CMD ["yarn", "run", "start"]
CMD ["yarn", "run", "start"]

context: .
file: dockerfiles/Dockerfile
push: false
tags: "polder:dev"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tags: "polder:dev"
tags: "polder:dev"


- name: Run chart-testing (install)
run: ct install --chart-dirs deployment/k8s
if: steps.list-changed.outputs.changed == 'true'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if: steps.list-changed.outputs.changed == 'true'
if: steps.list-changed.outputs.changed == 'true'

Comment on lines +27 to +30
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",

name = "titiler"
description = "A simple web service to create maps and viewer using eoAPI"
readme = "README.md"
requires-python = ">=3.8"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
requires-python = ">=3.8"
requires-python = ">=3.12"


- uses: actions/setup-python@v5
with:
python-version: 3.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
python-version: 3.7
python-version: 3.12

@emmanuelmathot emmanuelmathot merged commit ca0353e into main Oct 16, 2024
0 of 2 checks passed
@danielfdsilva danielfdsilva deleted the github-actions branch October 21, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants