More defensive modifcations for ORCID enrichment #95
This file contains hidden or 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: Lint and Test | |
| on: | |
| push: | |
| branches: [ "develop" ] | |
| pull_request: | |
| branches: [ "develop" ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Build Docker image | |
| run: docker build --build-arg BUILD_TEST=true -t knowledgegraph . | |
| - name: Run linter | |
| run: docker run --entrypoint '' -v ${{ github.workspace }}/tests:/app/tests knowledgegraph pylint -v --errors-only workflowhub_graph/workflowhub_graph | |
| - name: Run tests | |
| run: docker run --entrypoint '' -v ${{ github.workspace }}/tests:/app/tests knowledgegraph pytest |