Skip to content

Commit

Permalink
attempt 18 at fixing github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aris-koning committed Sep 16, 2024
1 parent f931891 commit 9c16104
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 45 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ jobs:
linux-test:
runs-on: ubuntu-20.04
env:
DBFARM: /var/lib/monetdb
DATABASE: test
continue-on-error: true
services:
Expand All @@ -20,7 +19,7 @@ jobs:
strategy:
matrix:
branch: [default]
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -32,7 +31,7 @@ jobs:
sudo add-apt-repository 'deb http://dev.monetdb.org/downloads/deb/ focal monetdb'
sudo apt-get update -qq
sudo apt-get install -y monetdb-client
- name: Create MonetDB ${{ env.DATABASE }} database
- name: Initialize MonetDB ${{ env.DATABASE }} database
run: |
sudo -u monetdb mclient -d "monetdb://localhost:50000/${{ env.DATABASE }}?user=monetdb&password=monetdb" -s "create schema test_schema;"
sudo -u monetdb mclient -d "monetdb://localhost:50000/${{ env.DATABASE }}?user=monetdb&password=monetdb" -s "create schema test_schema2;"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# Translations
Expand Down
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,5 @@ venv/bin/pytest: venv/
pytest: venv/bin/pytest
venv/bin/pytest -r A

venv/bin/tox: venv/
venv/bin/pip install tox

tox: venv/bin/tox
venv/bin/tox

setup: venv/
venv/bin/pip install -e ".[test]"

test: tox

clean:
rm -rf .tox/ build/
3 changes: 1 addition & 2 deletions test/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Create a test schema::

Now you can run the test suite::

$ tox

$ pytest test

The ``--db`` flag selects one of the preconfigured database URLs defined in setup.cfg.
28 changes: 0 additions & 28 deletions tox.ini

This file was deleted.

0 comments on commit 9c16104

Please sign in to comment.