diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32a376d153f32fe15f4a2edeca8ff4b95a146e43..fa19e089d424bfcda57f6a7cfedcf58c09d1a90b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,7 +48,7 @@ single_end_diff: - master script: - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume - - pytest -m singlediff singlediff_true + - pytest -m singlediff artifacts: expire_in: 2 days @@ -72,6 +72,6 @@ single_end_skip: - master script: - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' --skipDiff true --skipMotif true -resume - - pytest -m singlediff singleskip_true + - pytest -m singleskip_true artifacts: expire_in: 2 days diff --git a/workflow/tests/test_diff_peaks.py b/workflow/tests/test_diff_peaks.py index 29868ee341ad7344867fb8e4b176245dfe6ae06f..8782f21065f387c18f1b58fcf7051d6222abc7f5 100644 --- a/workflow/tests/test_diff_peaks.py +++ b/workflow/tests/test_diff_peaks.py @@ -10,7 +10,6 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ '/../output/diffPeaks/' -@pytest.mark.singleend @pytest.mark.singleskip_true def test_diff_peaks_singleend_single_rep(): assert os.path.isdir(test_output_path) == False @@ -21,22 +20,22 @@ def test_diff_peaks_pairedend_single_rep(): assert os.path.isdir(test_output_path) == False -@pytest.mark.singlediff_true +@pytest.mark.singlediff def test_heatmap_singleend_multiple_rep(): assert os.path.exists(os.path.join(test_output_path, 'heatmap.pdf')) -@pytest.mark.singlediff_true +@pytest.mark.singlediff def test_pca_singleend_multiple_rep(): assert os.path.exists(os.path.join(test_output_path, 'pca.pdf')) -@pytest.mark.singlediff_true +@pytest.mark.singlediff def test_normcount_singleend_multiple_rep(): assert os.path.exists(os.path.join(test_output_path, 'normcount_peaksets.txt')) -@pytest.mark.singlediff_true +@pytest.mark.singlediff def test_diffbind_singleend_multiple_rep(): if os.path.isfile(os.path.join(test_output_path, 'ENCSR272GNQ_vs_ENCSR238SGC_diffbind.bed')): assert os.path.exists(os.path.join(test_output_path, 'ENCSR272GNQ_vs_ENCSR238SGC_diffbind.bed'))