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: Add gitlab and github workflows. Also remove GDS question and GDS files #85

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

joshlynchONS
Copy link
Contributor

Removed GDS tests and files, replacing some quality assurance docs with the GDS ones. The gds question in the cookiecutter start up has been replaced with an ONS question. This is for the gitlab ci file. Gitlab and github workflows have been added with merge templates.

check:
for (github, gitlab with ONS, gitlab no ONS)
pip install -e .
pytest
git init
pre-commit install
git add .
git commit -m "init"

github workflow
github merge request
gitlab ONS workflow
gitlab merge request
ignore gitlab no ONS workflow (not possible to test)

Checklists

This pull/merge request meets the following requirements:

Comments have been added below around the incomplete checks.

@joshlynchONS joshlynchONS requested a review from Jacobb164 March 31, 2023 11:29
@codecov-commenter
Copy link

codecov-commenter commented Mar 31, 2023

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.61%. Comparing base (1b0652b) to head (a84f969).
Report is 6 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #85       +/-   ##
===========================================
- Coverage   59.25%   47.61%   -11.65%     
===========================================
  Files           4        4               
  Lines          54       42       -12     
===========================================
- Hits           32       20       -12     
  Misses         22       22               

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

Choose a reason for hiding this comment

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

You removed these scripts. Do we need to adjust them rather than remove them completely?

@@ -5,45 +5,6 @@
from sphinx.cmd.build import main


@pytest.mark.parametrize("test_input_repository_hosting_platform", ["GitHub", "GitLab"])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why has this been removed?

@@ -1,3 +1,30 @@
# Assumptions and caveats log

This log contains a list of assumptions and caveats used in this analysis.

## Definitions
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did this come from Shazmeen? If it's not might be worth asking them to read it?

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