You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ci-tests-data/ci.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,17 @@ These workflows include:
8
8
- Building your documentation
9
9
- Deploying your documentation to GitHub pages
10
10
11
-
CI also allows you to automate running workflows across a suite of environments including:
11
+
CI allows you to automate running workflows across a suite of environments including:
12
12
13
13
- environments containing different Python versions and
14
-
- different operating systems (Mac, Linux, Unix).
14
+
- different operating systems (Mac, Linux, Windows).
15
15
16
16
### What is Continuous Deployment (CD)?
17
17
18
18
Continuous deployment (CD) extends the CI process by automating the deployment of code changes to production or staging environments. In the case of your open source tool, CD can be used to:
19
19
20
20
- Automate publishing to PyPI
21
-
- Automate publishing your documentation to github pages or Read the Docs.
21
+
- Automate publishing your documentation to GitHub Pages or Read the Docs.
22
22
23
23
It is also used once your conda-forge recipe is set up to keep your package up to date on conda-forge.
24
24
@@ -54,9 +54,9 @@ templates that you can easily use and adapt to your own needs.
54
54
:::{admonition} Other platforms that you may run into
55
55
:class: info
56
56
57
-
-[Appveyor:](https://www.appveyor.com/) used to be a goto for running tests on Windows operating systems until GitHub actions evolved to support Windows. AppVeyor has evolved to support other operating systems since Microsoft acquired GitHub.
58
-
-[Travis CI:](https://www.travis-ci.com/)Used to be the most common CI platform used in our ecosystem until they dropped free support for open source.
59
-
-[CircleCI:](https://circleci.com/) You will still see some people using CircleCI for specific tasks. CircleCi can be useful for automated builds of websites and documentation allowing you to preview the changes to that website in your browser.
57
+
-[Appveyor:](https://www.appveyor.com/) used to be a `GOTO` for running tests on Windows operating systems until GitHub actions evolved to support Windows. AppVeyor has evolved to support other operating systems since Microsoft acquired GitHub.
58
+
-[Travis CI:](https://www.travis-ci.com/)Had been the most common CI platform used in our ecosystem until they dropped free support for open source.
59
+
-[CircleCI:](https://circleci.com/) You will still see some people using CircleCI for specific tasks. CircleCI can be useful for automated builds of websites and documentation allowing you to preview the changes to that website in your browser.
Copy file name to clipboardExpand all lines: ci-tests-data/code-cov.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,6 @@ A common service for analyzing code coverage is [codecov.io](https://codecov.io/
8
8
:height: 450px
9
9
:alt: Screenshot of the code cov service - showing test coverage for the stravalib package. in this image you can see a list of package modules and the associated number of lines and % lines covered by tests. at the top of the image you can see what branch is being evaluated and the path to the repository being shown.
10
10
11
-
the Code cov platform is a useful tool if you wish to visually track code coverage. Using it you can not only get the same summary information that you can get with **pytest-cov** extension. You can also get a visual representation of what lines are covered by your tests and what lines are not covered. Code cove is mostly useful for evaluating unit tests and/or how much of your package code is "covered. It however will not evaluate things like integration tests and end-to-end workflows. b
11
+
the Code cov platform is a useful tool if you wish to visually track code coverage. Using it you can not only get the same summary information that you can get with **pytest-cov** extension. You can also get a visual representation of what lines are covered by your tests and what lines are not covered. Code cove is mostly useful for evaluating unit tests and/or how much of your package code is "covered. It however will not evaluate things like integration tests and end-to-end workflows.
If you have the above setup, then you can use `session.install(".[tests]")` to install your test dependencies.
137
137
Notice that below one single nox session allows you to run
138
-
your tests on 3 different Python environments (Python 3.9, 3.10and 3.11).
138
+
your tests on 3 different Python environments (Python 3.9, 3.10, 3.11, and 3.12).
139
139
140
140
```python
141
141
import nox
142
142
143
143
# For this to run you will need to have python3.9, python3.10 and python3.11 installed on your computer. Otherwise nox will skip running tests for whatever versions are missing
# The syntax below allows you to use mamba / conda as your environment manager, if you use this approach you don’t have to worry about installing different versions of Python
0 commit comments