-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: split provider testing to a separate job (#171)
* TST: split provider testing to a separate job * keep same triggers * drop linting
- Loading branch information
1 parent
4528771
commit 8d66f88
Showing
4 changed files
with
594 additions
and
555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Test providers | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
pull_request: | ||
branches: | ||
- "*" | ||
schedule: | ||
- cron: "59 23 * * 3" | ||
|
||
jobs: | ||
provider_testing: | ||
name: Test providers | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 120 | ||
env: | ||
THUNDERFOREST: ${{ secrets.THUNDERFOREST }} | ||
JAWG: ${{ secrets.JAWG }} | ||
MAPBOX: ${{ secrets.MAPBOX }} | ||
MAPTILER: ${{ secrets.MAPTILER }} | ||
TOMTOM: ${{ secrets.TOMTOM }} | ||
OPENWEATHERMAP: ${{ secrets.OPENWEATHERMAP }} | ||
HEREV3: ${{ secrets.HEREV3 }} | ||
STADIA: ${{ secrets.STADIA }} | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- name: checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: ci/latest.yaml | ||
micromamba-version: "latest" | ||
|
||
- name: Install xyzservices | ||
run: pip install . | ||
|
||
|
||
- name: test providers - bash | ||
run: pytest -v . -m request --cov=xyzservices --cov-append --cov-report term-missing --cov-report xml --color=yes -n auto | ||
|
||
- uses: codecov/codecov-action@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.