mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-27 18:34:22 +01:00
🧪 test: level 2
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -5,12 +5,12 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
test level:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
group: [1, 2, 3]
|
||||
group: [0, 1, 2]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.8
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
- name: Test
|
||||
id: test
|
||||
run: |
|
||||
pytest -v -s -m "not gpu" --splits 3 --group ${{ matrix.group }} --splitting-algorithm least_duration test/
|
||||
pytest -vs test/test_generator::test_generation_level_${{ matrix.group }}
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
"test/test_generator.py::test_generation_level_0": 100,
|
||||
"test/test_generator.py::test_generation_level_1": 100,
|
||||
"test/test_generator.py::test_generation_level_2": 100,
|
||||
"test/test_generator.py::test_generation_level_3": 100,
|
||||
"test/test_generator.py::test_generation_level_4": 100,
|
||||
"test/test_hub.py::test_is_microservice_in_hub": 1,
|
||||
"test/test_strings.py::test_clean_color_codes": 1
|
||||
}
|
||||
Reference in New Issue
Block a user