Added Ubuntu Jammy to CI (#7047)

* Added Ubuntu Jammy to CI

* try thing
This commit is contained in:
Alex Gaynor 2022-04-07 03:15:09 -04:00 committed by GitHub
parent d6ba4452d3
commit dc989d563a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -144,6 +144,7 @@ jobs:
- {IMAGE: "sid", TOXENV: "py310"}
- {IMAGE: "ubuntu-bionic", TOXENV: "py36"}
- {IMAGE: "ubuntu-focal", TOXENV: "py38"}
- {IMAGE: "ubuntu-jammy", TOXENV: "py310"}
- {IMAGE: "ubuntu-rolling", TOXENV: "py39"}
- {IMAGE: "fedora", TOXENV: "py310"}
- {IMAGE: "alpine", TOXENV: "py39"}

View file

@ -20,7 +20,7 @@ operating systems.
* x86-64 Fedora (latest)
* x86-64 macOS 10.15 Catalina
* ARM64 macOS 12 Monterey
* x86-64 Ubuntu 18.04, 20.04, rolling
* x86-64 Ubuntu 18.04, 20.04, 22.04, rolling
* ARM64 Ubuntu 20.04
* x86-64 Debian Stretch (9.x), Buster (10.x), Bullseye (11.x), Bookworm (12.x)
and Sid (unstable)

View file

@ -82,8 +82,11 @@ def main(argv):
assert result == 1
# Trigger a bunch of initialization stuff.
import hashlib
from cryptography.hazmat.backends.openssl.backend import backend
hashlib.sha256()
start_heap = set(heap)
try: