Removed unused xapian action

This commit is contained in:
Théo Durr 2023-11-05 23:49:45 +01:00
parent fa758867cc
commit f234f94171
No known key found for this signature in database
GPG Key ID: 11E4AFB955E7883A
3 changed files with 4 additions and 15 deletions

View File

@ -6,13 +6,13 @@ runs:
- name: Install apt packages - name: Install apt packages
uses: awalsh128/cache-apt-pkgs-action@latest uses: awalsh128/cache-apt-pkgs-action@latest
with: with:
packages: gettext libxapian-dev libgraphviz-dev packages: gettext libgraphviz-dev
version: 1.0 # increment to reset cache version: 1.0 # increment to reset cache
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt update sudo apt update
sudo apt install gettext libxapian-dev libgraphviz-dev sudo apt install gettext libgraphviz-dev
shell: bash shell: bash
- name: Set up python - name: Set up python
@ -25,7 +25,7 @@ runs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ~/.local path: ~/.local
key: poetry-0 # increment to reset cache key: poetry-0 # increment to reset cache
- name: Install Poetry - name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true' if: steps.cached-poetry.outputs.cache-hit != 'true'

View File

@ -1,10 +0,0 @@
name: "Setup xapian"
description: "Setup the xapian indexes"
runs:
using: composite
steps:
- name: Setup xapian index
run: |
mkdir -p /dev/shm/search_indexes
ln -s /dev/shm/search_indexes sith/search_indexes
shell: bash

View File

@ -31,7 +31,6 @@ jobs:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: ./.github/actions/setup_project - uses: ./.github/actions/setup_project
- uses: ./.github/actions/setup_xapian
- uses: ./.github/actions/compile_messages - uses: ./.github/actions/compile_messages
- name: Run tests - name: Run tests
run: poetry run coverage run ./manage.py test run: poetry run coverage run ./manage.py test