Added setuptools to the dev requirements #23
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test-file-processing: | |
| name: Test file-processing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out file-processing code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.10.4 | |
| - name: Build Docker image for file-processing | |
| run: | | |
| docker build -t file-processing-tests . | |
| - name: Run tests for file-processing | |
| run: | | |
| docker run --rm file-processing-tests pytest tests/unit | |
| docker run --rm file-processing-tests pytest tests/integration | |
| test-file-processing-analytics: | |
| name: Test file-processing-analytics | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone file-processing-analytics repository | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: hc-sc-ocdo-bdpd/file-processing-analytics | |
| path: file-processing-analytics | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.10.4 | |
| - name: Build Docker image for file-processing-analytics | |
| run: | | |
| cd file-processing-analytics | |
| docker build -t file-processing-analytics-tests . | |
| - name: Run tests for file-processing-analytics | |
| run: | | |
| docker run --rm file-processing-analytics-tests pytest tests |