CI: Switch to GitHub Actions

Because Travis CI is dead.
This commit is contained in:
Adrien Vergé
2021-03-15 18:36:43 +01:00
parent 8f682481c7
commit 66bf76a362
4 changed files with 56 additions and 25 deletions

View File

@@ -297,6 +297,7 @@ class CommandLineTestCase(unittest.TestCase):
cli.run(('-c', f.name, os.path.join(self.wd, 'a.yaml')))
self.assertEqual(ctx.returncode, 1)
@unittest.skipIf(os.environ.get('GITHUB_RUN_ID'), '$HOME not overridable')
def test_run_with_user_global_config_file(self):
home = os.path.join(self.wd, 'fake-home')
dir = os.path.join(home, '.config', 'yamllint')