Update README.md #38
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: Pylint | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- uses: Gr1N/setup-poetry@v8 #install poetry | |
- name: Install parts of toolchain | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install requirements with poetry | |
run: poetry install | |
- name: Write key file | |
env: | |
CA_CERT: ${{ secrets.CA_CERT }} | |
CA_KEY: ${{ secrets.CA_KEY }} | |
CA_SIGNING_KEY: ${{ secrets.CA_SIGNING_KEY }} | |
run: | | |
echo "$CA_CERT" > ca-cert.pem | |
echo "$CA_KEY" > ca-key.pem | |
echo "$CA_SIGNING_KEY" > ca-signing-key.pem | |
- name: Start the proxy | |
run: | | |
poetry run python ontologytimemachine/custom_proxy.py & | |
- name: Test with pytest | |
run: | | |
poetry run pytest -v |