diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 32f852d..f361886 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,11 +91,6 @@ jobs: uses: prefix-dev/setup-pixi@v0.8.1 with: environments: ${{ matrix.env }} - # TODO: Consider removing this manual installation since the docker image already comes with a msodbc driver. - - name: Install msodbcsql17 driver - run: | - wget https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/msodbcsql17/msodbcsql17_17.9.1.1-1_amd64.deb - ACCEPT_EULA=Y sudo apt install ./msodbcsql17_17.9.1.1-1_amd64.deb --allow-downgrades - name: Wait for SQL Server timeout-minutes: 1 run: until docker logs "${{ job.services.db.id }}" 2>&1 | grep -q "SQL Server is now ready"; do sleep 10; done diff --git a/pixi.toml b/pixi.toml index b5a95aa..f1f4207 100644 --- a/pixi.toml +++ b/pixi.toml @@ -45,7 +45,7 @@ freetds = "*" [feature.mssql.tasks] test = "pytest tests/integration --backend=mssql" test_freetds = "pytest tests/integration --backend=mssql-freetds" -coverage = "pytest tests/integration --cov=datajudge --cov-report=xml --cov-append --backend=mssql" +coverage = "pytest tests/integration --cov=datajudge --cov-report=xml --cov-append --backend=mssql-freetds" [feature.postgres.dependencies] psycopg2 = "*"