Remove container logic from Github Actions workflow #363
Workflow file for this run
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: Pull request pre-check test | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
name: Run the pre-commit hook | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
sudo apt install build-essential dbus-devel | |
python -m pip install --upgrade pip | |
pip install -r src/install/requirements.txt | |
- name: Run coverage | |
run: | | |
cd src/ipa-tuura/ | |
coverage manage.py test domains -v 2 | |
coverage report | |
coverage html |