From 1aae2ffe0e7a4432f0f2dd675bb1b4000e2d7708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Karlo=20Do=C5=A1ilovi=C4=87?= Date: Thu, 31 Oct 2024 22:21:03 +0100 Subject: [PATCH] Update ci.yml. --- .github/workflows/ci.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56acf00..06382fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,31 +2,31 @@ name: Test judge0-py on: push: - branches: [ "master" ] + 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 - - name: Test with pytest - env: # Add necessary api keys as env variables. - ATD_API_KEY: ${{ secrets.ATD_API_KEY }} - RAPID_API_KEY: ${{ secrets.RAPID_API_KEY }} - SULU_API_KEY: ${{ secrets.SULU_API_KEY }} - run: | - pytest + - 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.ATD_API_KEY }} + RAPID_API_KEY: ${{ secrets.RAPID_API_KEY }} + SULU_API_KEY: ${{ secrets.SULU_API_KEY }} + run: | + pipenv run pytest -vv