Explorar el Código

Merge pull request #242 from smiclea/simplify-action

Simplify Github action by using Python deps.
Daniel Vincze hace 3 años
padre
commit
98826397cb
Se han modificado 2 ficheros con 2 adiciones y 4 borrados
  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