Update README for project phase #35
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: Main | |
on: [push] | |
jobs: | |
main: | |
name: Main | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: bootstrap | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install NASM | |
run: sudo apt-get install nasm | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: pip | |
- name: Verify Python requirements | |
run: | | |
awk '/^pip==/{p=1;print;next}/^[^ ]/{p=0}p' requirements.txt > /tmp/requirements.txt | |
pip install --no-deps -r /tmp/requirements.txt | |
awk '/^(pip-tools|click|pep517|build|tomli|wheel)==/{p=1;print;next}/^[^ ]/{p=0}p' requirements.txt > /tmp/requirements.txt | |
pip install --no-deps -r /tmp/requirements.txt | |
echo "-c $(pwd)/requirements.txt" > /tmp/requirements.in | |
pip-compile --quiet --allow-unsafe --generate-hashes --build-isolation --resolver=backtracking --output-file /tmp/requirements.txt requirements.in /tmp/requirements.in | |
grep -v '^\s*#' requirements.txt | diff -c - <(grep -v '^\s*#' /tmp/requirements.txt) | |
echo "Requirements verified" | |
- name: Install Python requirements | |
run: | | |
pip install --no-deps -r /tmp/requirements.txt | |
pip install --no-deps -e . | |
- name: Check | |
run: _dev check |