Skip to content

Commit

Permalink
Merge pull request #50 from JakobMiksch/ci-unit-tests
Browse files Browse the repository at this point in the history
CI: add unit test without Postgres dependency
  • Loading branch information
pblottiere authored Jul 12, 2024
2 parents 005c7fc + da8d129 commit 385e044
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 385e044

Please sign in to comment.