Skip to content

Commit

Permalink
add test to download and upload gpkg to cloud (#23)
Browse files Browse the repository at this point in the history
I uploaded `RIBASIM_NL_CLOUD_PASS` as a repository secret, can share it
on Monday.

See `src\hydamo\tests\test_datamodel.py` how to download and upload a file
  • Loading branch information
visr authored Oct 23, 2023
1 parent 231fe44 commit 765c7e3
Show file tree
Hide file tree
Showing 5 changed files with 5,781 additions and 6,484 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

- name: Run tests
run: pixi run test-hydamo
env:
RIBASIM_NL_CLOUD_PASS: ${{ secrets.RIBASIM_NL_CLOUD_PASS }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ coverage.xml
.mypy_cache/
.dmypy.json
dmypy.json

# pytest --basetemp
src/hydamo/tests/temp/
Loading

0 comments on commit 765c7e3

Please sign in to comment.