mirror of
https://github.com/facebook/sapling.git
synced 2024-12-24 13:34:37 +03:00
mononoke/integration tests: fix issue with missing dulwich for hggit ext (#59)
Summary: Pull Request resolved: https://github.com/facebookexperimental/eden/pull/59 Reviewed By: farnz Differential Revision: D23783095 Pulled By: lukaspiatkowski fbshipit-source-id: cb6a72ae3d8856a92945c28e4162c1808539206a
This commit is contained in:
parent
86fced8ab6
commit
e8098beff0
24
.github/workflows/mononoke-integration_linux.yml
vendored
24
.github/workflows/mononoke-integration_linux.yml
vendored
@ -33,6 +33,10 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '2.7'
|
||||
- name: Install Python 2 dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install "dulwich==0.18.6"
|
||||
- name: Install Apt-get dependencies
|
||||
run: |
|
||||
sudo apt-get install nmap tree
|
||||
@ -100,19 +104,27 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.7'
|
||||
- name: Install Python dependencies
|
||||
- name: Install Python 3 dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install click
|
||||
- name: Check space before running tests
|
||||
run: df -h
|
||||
- name: Run Monononke integration tests
|
||||
run: |
|
||||
python3 eden/mononoke/tests/integration/run_tests_getdeps.py /tmp/build/installed /tmp/build/build/mononoke_integration_test
|
||||
run: >-
|
||||
PYTHONPATH="$PYTHONPATH:/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages"
|
||||
python3
|
||||
eden/mononoke/tests/integration/run_tests_getdeps.py
|
||||
/tmp/build/installed
|
||||
/tmp/build/build/mononoke_integration_test
|
||||
continue-on-error: true
|
||||
- name: Check space after running tests
|
||||
run: df -h
|
||||
- name: Rerun failed Monononke integration tests (reduce flakiness)
|
||||
run: |
|
||||
cat eden/mononoke/tests/integration/.test* || true
|
||||
python3 eden/mononoke/tests/integration/run_tests_getdeps.py /tmp/build/installed /tmp/build/build/mononoke_integration_test --rerun-failed
|
||||
run: >-
|
||||
cat eden/mononoke/tests/integration/.test* || true;
|
||||
PYTHONPATH="$PYTHONPATH:/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages"
|
||||
python3
|
||||
eden/mononoke/tests/integration/run_tests_getdeps.py
|
||||
/tmp/build/installed /tmp/build/build/mononoke_integration_test
|
||||
--rerun-failed
|
||||
|
28
.github/workflows/mononoke-integration_mac.yml
vendored
28
.github/workflows/mononoke-integration_mac.yml
vendored
@ -27,6 +27,10 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '2.7'
|
||||
- name: Install Python 2 dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install "dulwich==0.18.6"
|
||||
- name: Install Brew dependencies
|
||||
run: |
|
||||
brew install bash coreutils curl-openssl gnu-sed grep jq nmap tree
|
||||
@ -76,19 +80,27 @@ jobs:
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.7'
|
||||
- name: Install Python dependencies
|
||||
- name: Install Python 3 dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install click
|
||||
- name: Check space
|
||||
run: df -h
|
||||
- name: Run Monononke integration tests
|
||||
run: |
|
||||
export PATH="/usr/local/opt/curl-openssl/bin:$PATH"
|
||||
python3 eden/mononoke/tests/integration/run_tests_getdeps.py /tmp/build/installed /tmp/build/build/mononoke_integration_test
|
||||
run: >-
|
||||
export PATH="/usr/local/opt/curl-openssl/bin:$PATH";
|
||||
PYTHONPATH="$PYTHONPATH:/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages"
|
||||
python3
|
||||
eden/mononoke/tests/integration/run_tests_getdeps.py
|
||||
/tmp/build/installed
|
||||
/tmp/build/build/mononoke_integration_test
|
||||
continue-on-error: true
|
||||
- name: Rerun failed Monononke integration tests (reduce flakiness)
|
||||
run: |
|
||||
cat eden/mononoke/tests/integration/.test* || true
|
||||
export PATH="/usr/local/opt/curl-openssl/bin:$PATH"
|
||||
python3 eden/mononoke/tests/integration/run_tests_getdeps.py /tmp/build/installed /tmp/build/build/mononoke_integration_test --rerun-failed
|
||||
run: >-
|
||||
cat eden/mononoke/tests/integration/.test* || true;
|
||||
export PATH="/usr/local/opt/curl-openssl/bin:$PATH";
|
||||
PYTHONPATH="$PYTHONPATH:/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages"
|
||||
python3
|
||||
eden/mononoke/tests/integration/run_tests_getdeps.py
|
||||
/tmp/build/installed /tmp/build/build/mononoke_integration_test
|
||||
--rerun-failed
|
||||
|
@ -123,8 +123,6 @@ def get_test_groups(repo_root):
|
||||
},
|
||||
TestGroup.BROKEN: {
|
||||
"test-fastreplay-inline-args.t", # Returns different data in OSS
|
||||
"test-gitimport.t", # Issue with hggit extension
|
||||
"test-hook-tailer.t", # Issue with hggit extension
|
||||
"test-remotefilelog-lfs-client-certs.t", # Returns different data in OSS
|
||||
"test-server.t", # Returns different data in OSS
|
||||
"test-unbundle-replay-hg-recording.t", # Returns different data in OSS
|
||||
|
Loading…
Reference in New Issue
Block a user