File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,15 @@ jobs:
140140 run : |
141141 python -m pip install --upgrade pip
142142 pip install -r requirements.txt
143+ pip install coverage
144+ pip install coveralls
143145 - name : Enable Postgres Trigram Extension
144146 run : |
145147 PGPASSWORD=postgres psql -U postgres -h 127.0.0.1 -p ${{ job.services.postgres.ports[5432] }} -d ci_db_test -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";"
146148 - name : Test with unittest
147149 env :
148150 TEST_DATABASE_URL : postgresql://postgres:postgres@localhost/ci_db_test
149151 TEST_DATABASE_ASYNC_URL : postgresql+asyncpg://postgres:postgres@localhost/ci_db_test
150- run : |
151- python -m unittest discover -s ./tests/test_implementations
152+ run : |
153+ python -m coverage run -m unittest
154+ coveralls
You can’t perform that action at this time.
0 commit comments