Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Switch to Ubuntu 20.04 #94

Merged
merged 2 commits into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
test:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand All @@ -27,7 +27,6 @@ jobs:
include:
- php: "8.0"
experimental: true
runs-on: ubuntu-20.04

env:
MYSQL_USER: "zftest"
Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Translate/Adapter/QtTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testCreate()
$adapter = new Zend_Translate_Adapter_Qt(dirname(__FILE__) . '/_files/failed.ts', 'en');
$this->fail("exception expected");
} catch (Zend_Translate_Exception $e) {
$this->assertContains('Mismatched tag at line', $e->getMessage());
$this->assertContains('Mismatched tag at line', $e->getMessage(), '', true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Translate/Adapter/TbxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testCreate()
$adapter = new Zend_Translate_Adapter_Tbx(dirname(__FILE__) . '/_files/failed.tbx', 'en');
$this->fail("exception expected");
} catch (Zend_Translate_Exception $e) {
$this->assertContains('Mismatched tag at line', $e->getMessage());
$this->assertContains('Mismatched tag at line', $e->getMessage(), '', true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Translate/Adapter/TmxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testCreate()
$adapter = new Zend_Translate_Adapter_Tmx(dirname(__FILE__) . '/_files/failed.tmx', 'en');
$this->fail("exception expected");
} catch (Zend_Translate_Exception $e) {
$this->assertContains('Mismatched tag at line', $e->getMessage());
$this->assertContains('Mismatched tag at line', $e->getMessage(), '', true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Translate/Adapter/XliffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testCreate()
$adapter = new Zend_Translate_Adapter_Xliff(dirname(__FILE__) . '/_files/failed.xliff', 'en');
$this->fail("exception expected");
} catch (Zend_Translate_Exception $e) {
$this->assertContains('Mismatched tag at line', $e->getMessage());
$this->assertContains('Mismatched tag at line', $e->getMessage(), '', true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Translate/Adapter/XmlTmTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testCreate()
$adapter = new Zend_Translate_Adapter_XmlTm(dirname(__FILE__) . '/_files/failed.xmltm', 'en');
$this->fail("exception expected");
} catch (Zend_Translate_Exception $e) {
$this->assertContains('Mismatched tag at line', $e->getMessage());
$this->assertContains('Mismatched tag at line', $e->getMessage(), '', true);
}
}

Expand Down