Skip to content

Commit

Permalink
ci: install requirements-pinned
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Aug 4, 2024
1 parent 88bbc4d commit affb52d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
run: |
sudo apt update
sudo apt-get install ffmpeg
ffmpeg -version
- name: Install ldap dependencies
run: |
Expand Down Expand Up @@ -74,13 +75,29 @@ jobs:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.pypi-${{ matrix.python-version }}-requirements.txt') }}

- name: Use Node.js v18.x
uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Install dependencies
run: |
pip install -r .pypi-${{ matrix.python-version }}-requirements.txt
pip install -r requirements.pinned.txt
pip install .[$EXTRAS]
pip freeze
docker --version
docker compose --version
docker compose version
- name: Install assets
run: |
export VIRTUAL_ENV=${pythonLocation}
mkdir -p ${VIRTUAL_ENV}/var/instance/static
cd ${VIRTUAL_ENV}/var/instance/static
npm install semantic-ui-less
- name: Build project
run: |
./scripts/build-assets
- name: Run tests
run: |
Expand Down
File renamed without changes.

0 comments on commit affb52d

Please sign in to comment.