Skip to content

Commit

Permalink
Update ci.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
fkdosilovic committed Oct 31, 2024
1 parent 827e6f6 commit 1aae2ff
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1aae2ff

Please sign in to comment.