Skip to content

Commit

Permalink
rollback ci/cd changes
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Grant <[email protected]>
  • Loading branch information
geocoug committed Jan 16, 2025
1 parent 9b77652 commit 5201d8b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,18 @@ jobs:
psql -h ${{ env.POSTGRES_HOST }} -U ${{ env.POSTGRES_USER }} -d ${{ env.POSTGRES_DB }} -f tests/data/schema_passing.sql
env:
PGPASSWORD: ${{ env.POSTGRES_PASSWORD }}
- name: Setup uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Setup Python ${{ matrix.python-version }}
run: |
uv python install ${{ matrix.python-version }}
uv venv
source .venv/bin/activate
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
uv pip install pytest
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
uv run pytest tests
python -m pip install pytest
python -m pytest
env:
POSTGRES_HOST: ${{ env.POSTGRES_HOST }}
POSTGRES_PORT: ${{ env.POSTGRES_PORT }}
Expand Down

0 comments on commit 5201d8b

Please sign in to comment.