Removing request method requirement #39
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
- uses: actions/cache@v2 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }} | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Building proxy | |
run: docker build -t proxy . | |
- name: Running Proxy | |
run: docker run -d --rm --name proxy -p 9001:80 proxy:latest | |
- name: Wait for Docker Website to start | |
run: .github/bin/waitHttp.sh "http://localhost:9001/" | |
- name: Run Tests | |
run: python ./tests/TestSuite.py |