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: Build and Test Minicrawler | |
on: | |
- workflow_dispatch | |
- pull_request | |
- push | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/prepare | |
- uses: ./.github/actions/build | |
- name: make check | |
run: make check | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/prepare | |
- uses: ./.github/actions/build | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: pip | |
- name: run httpbin in background | |
run: | | |
pip install httpbin | |
gunicorn -b 0.0.0.0:80 httpbin:app -k gevent & | |
- name: make integration | |
run: | | |
cd ./integration-tests | |
make check HTTPIE_URL=http://0.0.0.0:80 | |
try: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/prepare | |
- uses: ./.github/actions/build | |
- name: try run minicrawler | |
run: ./minicrawler5 https://www.testomato.com/humans.txt |