File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 5757 with :
5858 python-version : ${{ matrix.python-version }}
5959
60+ - name : Install PostgreSQL Development Tools
61+ if : matrix.os == 'ubuntu-latest'
62+ run : sudo apt-get update && sudo apt-get install -y libpq-dev
63+
64+ - name : Install PostgreSQL
65+ if : matrix.os == 'macos-latest'
66+ run : brew install postgresql
67+
6068 - name : Install Poetry
6169 uses : snok/install-poetry@v1
6270 with :
@@ -79,20 +87,20 @@ jobs:
7987 - name : Install dependencies
8088 run : poetry install --no-interaction --no-root
8189
82- - name : Run tests (Ubuntu )
90+ - name : Run tests (Linux )
8391 if : matrix.os == 'ubuntu-latest'
8492 run : |
8593 source .venv/bin/activate
8694 pytest tests/
8795
88- - name : Run tests (macOS)
96+ - name : Run tests (macOS - skip Docker tests )
8997 if : matrix.os == 'macos-latest'
9098 run : |
9199 source .venv/bin/activate
92- pytest tests/
100+ pytest tests/ -m "not docker_required"
93101
94- - name : Run tests (Windows)
102+ - name : Run tests (Windows - skip Docker tests )
95103 if : matrix.os == 'windows-latest'
96104 run : |
97105 source .venv/Scripts/activate
98- pytest tests/
106+ pytest tests/ -m "not docker_required"
You can’t perform that action at this time.
0 commit comments