diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fafa509..9bd7a08 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,3 +20,15 @@ jobs: - name: Test with pytest run: | coverage run -m pytest -s && coverage report --show-missing + + notify: + name: Notify Slack + needs: build + if: ${{ success() || failure() }} + runs-on: ubuntu-20.04 + steps: + - uses: iRoachie/slack-github-actions@v2.3.2 + if: env.SLACK_WEBHOOK_URL != null + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_BUILDS_WEBHOOK_URL }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/tests/test_model_taxonomy_dataframe.py b/tests/test_model_taxonomy_dataframe.py index fbce123..15d8d37 100644 --- a/tests/test_model_taxonomy_dataframe.py +++ b/tests/test_model_taxonomy_dataframe.py @@ -17,7 +17,7 @@ def test_loading_mapping(self, taxon): @pytest.mark.parametrize("taxon", ["Aramus guarauna"], indirect=True) def test_nested_set_assigning(self, taxon): assert taxon["left"] == 7 - assert taxon["right"] == 9 + assert taxon["right"] == 8 @pytest.mark.parametrize("taxon", ["Aramus guarauna"], indirect=True) def test_geo_threshold_assigning(self, taxon):