remove superfluous index from test file #617
Workflow file for this run
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
name: pyTest | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python environment | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
environment-file: environment.yml | |
environment-name: open-gira | |
cache-env: true | |
- name: Test with pytest | |
# use a 'login shell', thereforce sourcing .bashrc, necessary for umamba | |
shell: bash -l {0} | |
# uses pytest-xdist to parallelise (2 CPUs on standard GH Actions runner) | |
run: | | |
sudo apt update && sudo apt install osmium-tool | |
osmium --version | |
python -m pytest -n auto tests/ |