make available field readonly #252
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
# This workflow will run backend tests using the `ianalyzer-backend:latest` image | |
name: Backend unit tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'develop' | |
- 'master' | |
- 'feature/**' | |
- 'bugfix/**' | |
- 'hotfix/**' | |
- 'release/**' | |
paths: | |
- 'backend/**' | |
- '.github/workflows/backend-test.yml' | |
- 'docker-compose.yaml' | |
jobs: | |
backend-test: | |
name: Test Backend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run backend tests | |
run: | | |
sudo mkdir -p /ci-data | |
docker compose --env-file .env-ci run backend pytest |