Skip to content

Commit d252d32

Browse files
committed
moved
1 parent 2e2662c commit d252d32

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/test_on_deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
name: Run Integration Tests on Release
22

33
on:
4-
release:
5-
types: [published]
4+
pull_request:
5+
branches:
6+
- main
7+
68

79
jobs:
810
test:
911
runs-on: ubuntu-latest
1012
strategy:
1113
matrix:
12-
python-version: ['3.8', '3.9','3.10', '3.11']
14+
python-version: ['3.10']
1315
steps:
1416
- name: Checkout code
1517
uses: actions/checkout@v2
@@ -28,4 +30,4 @@ jobs:
2830
env:
2931
PYTHONPATH: ./
3032
API_KEY: ${{ secrets.API_KEY }}
31-
BASE_URL: ${{ secrets.BASE_URL }}
33+
BASE_URL: 'https://mdb.ai'

.github/workflows/test_on_pr.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,3 @@ jobs:
2828
- name: Run tests
2929
run: |
3030
env PYTHONPATH=./ pytest tests/unit
31-
env PYTHONPATH=./ pytest tests/integration
32-
env:
33-
PYTHONPATH: ./
34-
API_KEY: ${{ secrets.API_KEY }}
35-
BASE_URL: 'https://mdb.ai'

0 commit comments

Comments
 (0)