Merge pull request #9 from Nuwa-genomics/development #94
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: CI tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
run_tests: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update docs | |
run: | | |
pip3 install docstring-parser==0.15 | |
python3 docs/generate_docs.py | |
- name: Run tests | |
run: | | |
docker system prune --force | |
docker compose -f tests.docker-compose.yml up --build --abort-on-container-exit | |
sudo rm -dr /home/linuxuser/actions-runner/_work/Nuwa/Nuwa/streamlit-volume | |
sudo rm -dr /home/linuxuser/actions-runner/_work/Nuwa/Nuwa/postgresql |