cnerg / learn-maintenance Goto Github PK
View Code? Open in Web Editor NEWA repository for learning software maintenance and testing
License: MIT License
A repository for learning software maintenance and testing
License: MIT License
Most repo have a .gitignore
file that tells git to not even try to include certain files. You can find some standard ones for python, but in this case, we want to ignore things like build
, __pycache__
, */*.egg-info
Currently, coverage/coveralls is running once for each version of python in the matrix. This seems like overkill. More over, for some reason, only the first one worked on merge of the branch.
https://github.com/CNERG/learn-maintenance/actions/runs/2907420994
It is possible to add "badges" to the Readme file that are able to query the results of testing and coverage and report to readers.
Try adding these badges.
You have successfully made a dockerfile that generates a docker image that can be used locally for testing.
This step is to make a dockerfile that generates a docker image that installs all the dependencies and stops short of actually running the tests. Then you push this docker image to the Github Container Registry and then use that docker image, instead of ubuntu-latest
to run your tests, and no longer need to install numpy
, pytest
, coverage
.
The REGISTRY
and IMAGE_NAME
are defined in the environment, but used inconsistently or not used where appropriate. Specifically, the tag of the docker image that is build/pushed should derive from these.
Currently the push of the image fails in this merged upstream version because the image is tagged with github.actor
instead of github.repository
(I think). We won't be able to test that without another merge.
We know how to use the github actions cache to make an existing docker image available to streamline the building of a docker image with similar instructions.
We know how to pull an image from the image repository on a local machine to streamline the building of a docker image with similar instructions.
Can we pull an image from the image repository into a github actions cache to streamline things?
How to test:
Goal: github action doesn't repeat docker work for steps that have not changed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.