File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,31 @@ jobs:
1717 python-version : ["3.10", "3.12"]
1818
1919 steps :
20- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
21+ - name : Checkout repository
22+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
2124 - name : Set up Python ${{ matrix.python-version }}
2225 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2326 with :
2427 python-version : ${{ matrix.python-version }}
28+
2529 - name : Install dependencies
2630 run : |
2731 python -m pip install --upgrade pip setuptools wheel
2832 python -m pip install --upgrade PyYAML
33+
2934 - name : Install dependencies (macOS)
3035 run : |
3136 brew install subversion mercurial
3237 if : matrix.os == 'macos-latest'
38+
39+ - name : Install dependencies (Ubuntu)
40+ run : |
41+ sudo apt-get update
42+ sudo apt-get install -y subversion mercurial
43+ if : startsWith(matrix.os, 'ubuntu')
44+
3345 - name : Test with pytest
3446 run : |
3547 pip install --upgrade .[test]
Original file line number Diff line number Diff line change 1919 os .path .dirname (os .path .dirname (__file__ )), 'test_workspace'
2020)
2121
22- CI = os .environ .get ('CI' ) == 'true' # Travis CI / Github actions set: CI=true
2322svn = which ('svn' )
2423hg = which ('hg' )
2524if svn :
@@ -342,7 +341,6 @@ def test_validate(self):
342341 expected = get_expected_output ('validate_bad' )
343342 self .assertEqual (output , expected )
344343
345- @unittest .skipIf (CI , 'Cannot run on CI' )
346344 @unittest .skipIf (not svn , '`svn` was not found' )
347345 @unittest .skipIf (not hg , '`hg` was not found' )
348346 def test_validate_svn_and_hg (self ):
You can’t perform that action at this time.
0 commit comments