Move high-level api functions from clients module to api module. Rena… #12
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: Test judge0-py | |
on: | |
push: | |
branches: ["master"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
pipenv install --dev | |
pipenv install -e . | |
- name: Test with pytest | |
env: # Add necessary api keys as env variables. | |
ATD_API_KEY: ${{ secrets.JUDGE0_ATD_API_KEY }} | |
RAPID_API_KEY: ${{ secrets.JUDGE0_RAPID_API_KEY }} | |
SULU_API_KEY: ${{ secrets.JUDGE0_SULU_API_KEY }} | |
run: | | |
pipenv run pytest -vv |