mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
CI: Don’t skip test_run_with_user_global_config_file
Before this change one of yamllint’s tests wasn’t being run on GitHub Actions Runners because the HOME environment variable couldn’t be overridden. I just tested it, and it looks like the HOME variable can be overridden now, so that test no longer needs to be skipped.
This commit is contained in:
parent
92688d2bb0
commit
3513ec175d
@ -328,7 +328,6 @@ 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')
|
||||
|
Loading…
Reference in New Issue
Block a user