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

chore: Update CI template for tap cookiecutter #1476

Closed
wants to merge 2 commits into from

Conversation

laurentS
Copy link
Contributor

@laurentS laurentS commented Mar 3, 2023

I just built a fresh tap using the cookiecutter template (which was super cool by the way!), and had to update some parts of the workflow template as below to fix github complaints (and use latest versions of python and poetry).


📚 Documentation preview 📚: https://meltano-sdk--1476.org.readthedocs.build/en/1476/

@laurentS laurentS changed the title Update CI template for tap cookiecutter chore: Update CI template for tap cookiecutter Mar 3, 2023
@codecov
Copy link

codecov bot commented Mar 3, 2023

Codecov Report

Merging #1476 (52cf4ac) into main (dc2f29a) will not change coverage.
The diff coverage is n/a.

❗ Current head 52cf4ac differs from pull request most recent head c91468a. Consider uploading reports for the commit c91468a to get more accurate results

@@           Coverage Diff           @@
##             main    #1476   +/-   ##
=======================================
  Coverage   85.46%   85.46%           
=======================================
  Files          57       57           
  Lines        4760     4760           
  Branches      809      809           
=======================================
  Hits         4068     4068           
  Misses        501      501           
  Partials      191      191           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@WillDaSilva WillDaSilva left a comment

Choose a reason for hiding this comment

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

Thanks @laurentS! I've got one suggestion, but aside from that this looks good to me.

Copy link
Collaborator

@edgarrmondragon edgarrmondragon left a comment

Choose a reason for hiding this comment

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

Other than @WillDaSilva's suggestion, this lgtm!

with:
python-version: {{ '${{ matrix.python-version }}' }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry==1.2.*
pip install poetry==1.3.*
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should probably use a constraints file do this can be kept up to date with dependabot. But that's for a future PR.

WillDaSilva added a commit that referenced this pull request Mar 5, 2023
Plus some related cleanup. Poetry still needs to be installed before running `pipx run tox ...` because tox is configured to use poetry from the external environment, rather than installing it into the tox venv.

Supersedes:
- #1476

Closes #1481
edgarrmondragon pushed a commit that referenced this pull request Mar 6, 2023
Plus some related cleanup. Poetry still needs to be installed before running `pipx run tox ...` because tox is configured to use poetry from the external environment, rather than installing it into the tox venv.

Supersedes:
- #1476

Closes #1481
…flows/{% if cookiecutter.include_cicd_sample_template == 'GitHub' %}ci_workflow.yml{%endif%}

Co-authored-by: Will Da Silva <[email protected]>
@laurentS
Copy link
Contributor Author

laurentS commented Mar 6, 2023

Just saw your other PR @WillDaSilva closing this as not needed anymore, but please let me know if I missed anything.

@laurentS laurentS closed this Mar 6, 2023
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.

3 participants