From 95c29fd9dbec6661c1c617be2f8f0865176e10c5 Mon Sep 17 00:00:00 2001 From: Khai Do <3697686+zaro0508@users.noreply.github.com> Date: Sun, 28 Jul 2024 22:58:19 -0700 Subject: [PATCH] Run synth in a separate CI job (#24) --- .github/workflows/check.yml | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index bfe0069..4f4291d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -14,7 +14,23 @@ jobs: uses: actions/checkout@v3 - name: Static Analysis uses: pre-commit/action@v3.0.0 - - name: Dummy secrets file + tests: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install dependencies + run: pip install -r requirements.txt -r requirements-dev.txt + - name: Run unit tests + run: python -m pytest tests/ -s -v + synth: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install dependencies + run: pip install -r requirements.txt -r requirements-dev.txt + - name: Generate dummy secrets file run: | tee -a .openchallenges > /dev/null <