Skip to content

Commit

Permalink
CI: add unit test without Postgres dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobMiksch committed Jul 7, 2024
1 parent 212f0c1 commit da8d129
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Tests

on:
push:
branches: [ main ]
pull_request:

jobs:
run_tests:
runs-on: ubuntu-latest
container:
image: qgis/qgis:3.34
steps:
- uses: actions/checkout@v4
- name: install system dependencies
run: apt update && apt install -y python3-poetry python3-flask python3-boto3
- name: Install Python dependencies
working-directory: qsa-api
run: poetry install
- name: Run test without Postgres Dependency
working-directory: qsa-api
run: pytest -sv tests/test_api_storage_filesystem.py

0 comments on commit da8d129

Please sign in to comment.