]> jfr.im git - yt-dlp.git/commitdiff
[CI] Created quick-test
authorpukkandan <redacted>
Thu, 7 Jan 2021 20:46:48 +0000 (02:16 +0530)
committerpukkandan <redacted>
Thu, 7 Jan 2021 22:14:54 +0000 (03:44 +0530)
.github/workflows/ci.yml
.github/workflows/quick-test.yml [new file with mode: 0644]
README.md

index 6e48f9192dfe95b9f291087e18c17617e7cc7f3d..b8baf1fadcb911b3a7d192c9923283c14c27f5a9 100644 (file)
@@ -1,4 +1,4 @@
-name: CI
+name: Full Test
 on: [push]
 jobs:
   tests:
@@ -60,16 +60,4 @@ jobs:
       env:
         YTDL_TEST_SET: ${{ matrix.ytdl-test-set }}
       run: ./devscripts/run_tests.${{ matrix.run-tests-ext }}
-  flake8:
-    name: Linter
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v2
-    - name: Set up Python
-      uses: actions/setup-python@v2
-      with:
-        python-version: 3.9
-    - name: Install flake8
-      run: pip install flake8
-    - name: Run flake8
-      run: flake8 .
\ No newline at end of file
+  # flake8 has been moved to quick-test
\ No newline at end of file
diff --git a/.github/workflows/quick-test.yml b/.github/workflows/quick-test.yml
new file mode 100644 (file)
index 0000000..cd1e799
--- /dev/null
@@ -0,0 +1,31 @@
+name: Core Test
+on: [push]
+jobs:
+  tests:
+    name: Core Tests
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python 3.9
+      uses: actions/setup-python@v2
+      with:
+        python-version: 3.9
+    - name: Install nose
+      run: pip install nose
+    - name: Run tests
+      env:
+        YTDL_TEST_SET: core
+      run: ./devscripts/run_tests.sh
+  flake8:
+    name: Linter
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up Python
+      uses: actions/setup-python@v2
+      with:
+        python-version: 3.9
+    - name: Install flake8
+      run: pip install flake8
+    - name: Run flake8
+      run: flake8 .
\ No newline at end of file
index 670c07d39d441657c3f14d4ba1d913577b606be9..17aa7b561f3aee56282442f5f53cff56c35d2e63 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
-[![Build Status](https://github.com/pukkandan/yt-dlc/workflows/CI/badge.svg?branch=master)](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3ACI)
-[![Release Version](https://img.shields.io/badge/Release-2021.01.07-1-brightgreen)](https://github.com/pukkandan/yt-dlc/releases/latest)
+[![Release Version](https://img.shields.io/badge/Release-2021.01.07--1-brightgreen)](https://github.com/pukkandan/yt-dlc/releases/latest)
 [![License: Unlicense](https://img.shields.io/badge/License-Unlicense-blue.svg)](https://github.com/pukkandan/yt-dlc/blob/master/LICENSE)
+[![Core Status](https://github.com/pukkandan/yt-dlc/workflows/Core%20Test/badge.svg?branch=master)](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3ACore)
+[![CI Status](https://github.com/pukkandan/yt-dlc/workflows/Full%20Test/badge.svg?branch=master)](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3AFull)
 
 youtube-dlc - download videos from youtube.com and many other [video platforms](docs/supportedsites.md)