feat: adsd clinical trials info #113
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] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: Gr1N/setup-poetry@v8 | |
| - name: Change executable permissions for files in the bin folder | |
| run: chmod +x ./bin/* | |
| - name: Check dependencies | |
| run: make doctor | |
| - uses: actions/cache@v3 | |
| with: | |
| path: .venv | |
| key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
| - name: Install dependencies | |
| run: make install | |
| - name: Revert the changes to bin folder | |
| run: chmod 644 ./bin/* | |
| # - name: Check code | |
| # run: make check | |
| - name: Test code | |
| run: make test | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| fail_ci_if_error: true |