This repository was archived by the owner on Dec 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-16
lines changed Expand file tree Collapse file tree 2 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,11 @@ jobs:
3737 with :
3838 python-version : ' 3.12'
3939
40+ - env :
41+ PREFECT_API_URL : ${{ secrets.PREFECT_API_URL }}
4042 - run : |
4143 python -m pip install --upgrade pip
4244 pip install -r requirements/prefect.txt
4345 pip install -r requirements/prod.txt
44-
45- - env :
46- PREFECT_API_URL : ${{ secrets.PREFECT_API_URL }}
47- run : |
4846 prefect config set PREFECT_API_URL=$PREFECT_API_URL
49-
50- - run : python -m src.deploy_prefect.deployment
47+ python -m src.deploy_prefect.deployment
Original file line number Diff line number Diff line change @@ -29,21 +29,23 @@ jobs:
2929 runs-on : ubuntu-latest
3030 strategy :
3131 matrix :
32- python-version : ["3.12 "]
32+ python-version : ["3.10", "3.11 "]
3333
3434 steps :
3535 - uses : actions/checkout@v2
3636 - name : Set up Python ${{ matrix.python-version }}
3737 uses : actions/setup-python@v2
3838 with :
3939 python-version : ${{ matrix.python-version }}
40- - env :
41- PREFECT_API_URL : ${{ secrets.PREFECT_API_URL }}
42- - run : |
43- python -m pip install --upgrade pip
44- pip install -r requirements/prefect.txt
45- pip install -r requirements/prod.txt
46- prefect config set PREFECT_API_URL=$PREFECT_API_URL
47- python -m src.deploy_prefect.deployment
48-
4940
41+ - name : Install Requirements
42+ run : pip install -r requirements/dev.txt
43+ - name : Unit Tests
44+ run : python -m pytest tests/unit
45+ env :
46+ IPFS_ACCESS_KEY : ${{ secrets.IPFS_ACCESS_KEY }}
47+ - name : Integration Tests
48+ run : python -m pytest tests/integration
49+ env :
50+ PROD_DB_URL : ${{ secrets.PROD_DB_URL }}
51+ BARN_DB_URL : ${{ secrets.BARN_DB_URL }}
You can’t perform that action at this time.
0 commit comments