Skip to content

Commit

Permalink
Fix checking out test repository on VM
Browse files Browse the repository at this point in the history
  • Loading branch information
Korulag committed Apr 1, 2024
1 parent 8a6f98a commit a59900e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alts/worker/runners/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ def clone_third_party_repo(
result = None
for attempt in range(1, 6):
cmd = (f'if [ -e {repo_path} ]; then cd {repo_path} && '
f'git checkout master && git pull; '
f'git reset --hard origin/master && git checkout master && git pull; '
f'else cd {self._tests_dir} && git clone {repo_url}; fi')
result = self._ssh_client.sync_run_command(cmd)
if result.is_successful():
Expand Down

1 comment on commit a59900e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Total coverage

Coverage report for changed files •
FileStmtsMissCoverMissing
worker/runners
   base.py84861827%121–131, 135–139, 144, 149–150, 156–157, 159, 261, 271, 275, 288, 296, 300, 304–306, 310–311, 316, 320, 327, 350, 354, 357, 363–371, 375–382, 390, 392–395, 412, 415–416, 420–422, 434–439, 443–444, 447, 451–456, 463–466, 469, 473, 488, 497, 505–513, 518, 520, 525–528, 530–534, 536–537, 542, 546, 551–555, 560, 566–567, 579, 583–594, 603, 607–611, 627, 635–642, 651–656, 660–661, 667–670, 673–677, 680, 685–687, 691, 698–706, 710–715, 717–721, 725, 729–730, 734–736, 739–740, 754, 760, 765, 772–773, 781–790, 794–796, 801–810, 829, 842–844, 847–852, 855–860, 867–868, 870–871, 873, 877, 882, 889–891, 895–897, 902–904, 907–909, 917, 946, 958–965, 970, 978–980, 982–983, 999–1003, 1005–1013, 1015–1018, 1025–1028, 1032–1033, 1035–1036, 1048, 1055–1058, 1060–1065, 1073, 1077–1078, 1086–1088, 1090–1098, 1101–1104, 1107–1117, 1119, 1121–1123, 1126–1128, 1130–1141, 1147–1148, 1150–1163, 1172–1176, 1179–1180, 1184–1186, 1189–1192, 1194–1200, 1202–1203, 1205, 1211–1212, 1217–1219, 1228–1231, 1234, 1237, 1250–1253, 1255–1262, 1267–1271, 1276–1284, 1290, 1292–1295, 1297, 1302, 1308–1313, 1319–1320, 1323, 1325–1326, 1328–1329, 1333–1335, 1341–1344, 1346–1356, 1358, 1360, 1364–1365, 1369–1371, 1381–1382, 1386, 1389–1392, 1400–1404, 1409, 1412–1414, 1418–1422, 1425–1433, 1438–1443, 1449, 1476–1477, 1486, 1491–1493, 1498, 1502–1503, 1522, 1534–1536, 1539–1545, 1549–1553, 1558, 1562, 1566, 1569, 1581–1583, 1592, 1596, 1602–1606, 1609–1613, 1618–1622, 1625–1628, 1631–1636, 1639–1641, 1648–1652, 1656–1658, 1661–1664, 1668–1670, 1672, 1676–1679, 1682–1683, 1687–1688, 1705, 1710, 1712–1717
TOTAL2458153437% 

Tests Skipped Failures Errors Time
33 0 💤 0 ❌ 0 🔥 16.608s ⏱️

Please sign in to comment.