Просмотр исходного кода

Simplify Github action by using Python deps.

Sergiu Miclea 3 лет назад
Родитель
Сommit
5afab1543a
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 4
      .github/workflows/unit-tests.yml
  2. 1 0
      test-requirements.txt

+ 1 - 4
.github/workflows/unit-tests.yml

@@ -17,11 +17,8 @@ jobs:
     - uses: actions/checkout@v3
     - name: Install dependencies
       run: |
-        sudo apt install python3-nose
-        sudo apt install libmysqlclient-dev
-
         pip install -r requirements.txt
         pip install -r test-requirements.txt
     - name: Run unit tests
       run: |
-        nosetests3 -v --nocapture --logging-level=ERROR coriolis/tests/
+        python -m nose -v --nocapture --logging-level=ERROR coriolis/tests

+ 1 - 0
test-requirements.txt

@@ -1,6 +1,7 @@
 coverage
 ddt
 discover
+nose
 oslotest
 
 hacking>=0.12.0,<0.13 # Apache-2.0