소스 검색

Simplify Github action by using Python deps.

Sergiu Miclea 3 년 전
부모
커밋
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