Translated using Weblate (Italian) #1280
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install docker-compose | |
run: sudo apt-get install -y docker-compose | |
- uses: actions/checkout@v4 | |
- name: Copy config | |
run: cp utils/ci/* . | |
- name: Build the Docker image | |
run: docker-compose build | |
- name: Start Docker | |
run: docker-compose up -d | |
- name: Run migrations | |
run: ./utils/run_migrations.sh | |
- name: Run tests | |
run: ./utils/tests_cov.sh | |
- name: Stop Docker | |
run: docker-compose down |