Update fastapi version to 0.109.2 #232
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: Continuous Integration | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
merge_group: | |
# ensure that the workflow is only triggered once per PR, subsequent pushes to the PR will cancel | |
# and restart the workflow. See https://docs.github.com/en/actions/using-jobs/using-concurrency | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo snap install --edge --classic just | |
- name: Checkout | |
if: github.event_name != 'pull_request' | |
uses: actions/checkout@v4 | |
- name: Checkout | |
if: github.event_name == 'pull_request' | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Cache Docker images. | |
uses: ScribeMD/[email protected] | |
with: | |
key: docker-${{ hashFiles('docker-compose.ci.yml') }} | |
- run: just test | |
- uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: unittests | |
root_dir: ./backend/app/ | |
fail_ci_if_error: false | |
verbose: true |