Skip to content

Commit

Permalink
remove test from github
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Feb 11, 2024
1 parent 11a316b commit 7533f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ jobs:
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
- name: Install PostgreSQL Client 16
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(. /etc/os-release; echo $UBUNTU_CODENAME)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install postgresql-client-16
- uses: ./.github/actions/prepare
with:
python-version: ${{ inputs.python-version }}
Expand Down
2 changes: 2 additions & 0 deletions tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
from cashu.core.migrations import backup_database
from cashu.core.settings import settings
from cashu.mint.ledger import Ledger
from tests.helpers import is_github_actions


@pytest.mark.asyncio
@pytest.mark.skipif(is_github_actions, reason="Fails on GitHub Actions")
async def test_backup_db_migration(ledger: Ledger):
settings.db_backup_path = "./test_data/backups/"
filepath = await backup_database(ledger.db, 999)
Expand Down

0 comments on commit 7533f5e

Please sign in to comment.