Skip to content

Commit

Permalink
Update CI to use UV as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Oct 6, 2024
1 parent f65f033 commit 13371bd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,34 @@ jobs:

strategy:
matrix:
python-version: [3.11]
python-version: [3.12]

steps:
- name: install just binary for running commands
- name: Install just binary for running commands
uses: taiki-e/install-action@just

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: Set up Python using the python specified in pyproject.toml
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version-file: "pyproject.toml"

- name: Install front end dependencies from front end directory
run: |
cd theme/static_src
npm i
cd ../../
- name: Install dependencies
run: |
python -m pip install pipenv
python -m pipenv install --dev
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.4.18"


- name: Run tests
run: |
just test
env:
CI: true
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/backend"
VUE_APP_SUPPORT_EMAIL: "[email protected]"

0 comments on commit 13371bd

Please sign in to comment.