forked from pasteorg/paste
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github actions tests (pasteorg#77)
Borrowing the configuration from wsg-intercept and then editing to fit so that we've got some automated tests. To get this to work it was necessary to: * adjust python versions * update action version * pin the ubuntu version * fix warning in test_grantip * form.cgi needs to not use six because it is not running in the virtualenv * quiet deprecations in in form.cgi because cgi module is deprecated * Skip the proxy test as it uses httpbin.org which is unreliable
- Loading branch information
Showing
5 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: tests | ||
on: [push, workflow_dispatch] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: py27 | ||
- python: 3.5 | ||
env: py35 | ||
- python: 3.6 | ||
env: py36 | ||
- python: 3.7 | ||
env: py37 | ||
- python: 3.8 | ||
env: py38 | ||
- python: 3.9 | ||
env: py39 | ||
- python: "3.10" | ||
env: py310 | ||
- python: "3.11" | ||
env: py311 | ||
- python: pypy-3.8 | ||
env: pypy3 | ||
name: ${{ matrix.env }} on Python ${{ matrix.python }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- run: pip install tox | ||
- run: tox | ||
env: | ||
TOXENV: ${{ matrix.env }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters