mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Disable ubuntu test runner
Server based tests are failing for no reason I can discern. Hopefully Microsoft will fix whatever they broke eventually.
This commit is contained in:
parent
c839058b2b
commit
a47105b17a
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
os: [macos-latest, windows-latest]
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@master
|
||||
|
@ -8,20 +8,16 @@ __copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
import unittest
|
||||
import zlib
|
||||
from functools import partial
|
||||
from io import BytesIO
|
||||
|
||||
from calibre.constants import islinux
|
||||
from calibre.ebooks.metadata.meta import get_metadata
|
||||
from calibre.srv.tests.base import LibraryBaseTest
|
||||
from polyglot.binary import as_base64_bytes
|
||||
from polyglot.http_client import FORBIDDEN, NOT_FOUND, OK
|
||||
from polyglot.urllib import quote, urlencode
|
||||
|
||||
is_ci = os.environ.get('CI', '').lower() == 'true'
|
||||
|
||||
|
||||
def make_request(conn, url, headers={}, prefix='/ajax', username=None, password=None, method='GET', data=None):
|
||||
if username and password:
|
||||
@ -36,7 +32,6 @@ def make_request(conn, url, headers={}, prefix='/ajax', username=None, password=
|
||||
|
||||
class ContentTest(LibraryBaseTest):
|
||||
|
||||
@unittest.skipIf(islinux and is_ci, 'This test is flaky since early Dec 2020 on ubuntu CI, looks like a file descriptor being closed that should not be')
|
||||
def test_ajax_book(self): # {{{
|
||||
'Test /ajax/book'
|
||||
with self.create_server() as server:
|
||||
|
Loading…
x
Reference in New Issue
Block a user