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

migrate CI to github actions #677

Merged
merged 82 commits into from
Jan 20, 2021
Merged

migrate CI to github actions #677

merged 82 commits into from
Jan 20, 2021

Conversation

thatbudakguy
Copy link
Contributor

@thatbudakguy thatbudakguy commented Jul 6, 2020

  • update workflow based on existing Startwords workflow
  • split out Lighthouse CI workflow (move to separate PR to address switch pa11y-ci to aXe-core in CI #685)
  • add comments to workflow
  • update badge names
  • try using .python-version file as single source of truth for python version; remove matrix
  • revisit service containers
  • add wheel to dev-requirements.txt
  • add slack notification from cdhweb

@thatbudakguy thatbudakguy removed the request for review from kmcelwee November 2, 2020 15:03
@codecov-io
Copy link

codecov-io commented Jan 15, 2021

Codecov Report

Merging #677 (dfea8d1) into develop (835659a) will decrease coverage by 11.46%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #677       +/-   ##
============================================
- Coverage    98.00%   86.54%   -11.47%     
============================================
  Files          226       12      -214     
  Lines        12352      446    -11906     
  Branches        66       66               
============================================
- Hits         12106      386    -11720     
+ Misses         246       60      -186     

@rlskoeser
Copy link
Contributor

@thatbudakguy the build is working now, the python unit tests are just failing on a single test that's also failing in travis. Do you want to review my changes and see if you have any concerns before we merge?

Copy link
Contributor Author

@thatbudakguy thatbudakguy left a comment

Choose a reason for hiding this comment

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

looks good, glad you got the permissions stuff handled!

Comment on lines +91 to +95
# use docker cp to copy the configset, then bash to set ownership to solr
- name: Copy Solr configset to solr service
run: |
docker cp solr_conf ${{ job.services.solr.id }}:/opt/solr/server/solr/configsets/sandco
docker exec --user root ${{ job.services.solr.id }} /bin/bash -c "chown -R solr:solr /opt/solr/server/solr/configsets/sandco"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

awesome that this worked; maybe we could extract it to a shell script at some point

package.json Outdated
@@ -13,7 +13,7 @@
"start": "npm run dev",
"test": "npm run test:unit && npm run test:a11y",
"test:unit": "jest --collectCoverage",
"test:a11y": "pa11y-ci --sitemap http://localhost:8000/sitemap-pages.xml",
"test:a11y": "pa11y-ci --sitemap http://localhost:8000/sitemap.xml",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we should remove this because we don't have pa11y-ci anymore

lighthouserc.js Outdated
@@ -0,0 +1,30 @@
module.exports = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

might not need this file for this PR since we split off the a11y/lighthouse stuff

@rlskoeser rlskoeser merged commit 2a1e48d into develop Jan 20, 2021
@rlskoeser rlskoeser deleted the thatbudakguy/issue634 branch January 20, 2021 22:30
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.

split out CI builds
4 participants