mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 11:03:04 +00:00 
			
		
		
		
	Removed unused xapian action
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/actions/setup_project/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/actions/setup_project/action.yml
									
									
									
									
										vendored
									
									
								
							@@ -6,13 +6,13 @@ runs:
 | 
			
		||||
    - name: Install apt packages
 | 
			
		||||
      uses: awalsh128/cache-apt-pkgs-action@latest
 | 
			
		||||
      with:
 | 
			
		||||
        packages: gettext libxapian-dev libgraphviz-dev
 | 
			
		||||
        version: 1.0  # increment to reset cache
 | 
			
		||||
        packages: gettext libgraphviz-dev
 | 
			
		||||
        version: 1.0 # increment to reset cache
 | 
			
		||||
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
      run: |
 | 
			
		||||
        sudo apt update
 | 
			
		||||
        sudo apt install gettext libxapian-dev libgraphviz-dev
 | 
			
		||||
        sudo apt install gettext libgraphviz-dev
 | 
			
		||||
      shell: bash
 | 
			
		||||
 | 
			
		||||
    - name: Set up python
 | 
			
		||||
@@ -25,7 +25,7 @@ runs:
 | 
			
		||||
      uses: actions/cache@v3
 | 
			
		||||
      with:
 | 
			
		||||
        path: ~/.local
 | 
			
		||||
        key: poetry-0  # increment to reset cache
 | 
			
		||||
        key: poetry-0 # increment to reset cache
 | 
			
		||||
 | 
			
		||||
    - name: Install Poetry
 | 
			
		||||
      if: steps.cached-poetry.outputs.cache-hit != 'true'
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								.github/actions/setup_xapian/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/actions/setup_xapian/action.yml
									
									
									
									
										vendored
									
									
								
							@@ -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
 | 
			
		||||
							
								
								
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -31,7 +31,6 @@ jobs:
 | 
			
		||||
      - name: Check out repository
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
      - uses: ./.github/actions/setup_project
 | 
			
		||||
      - uses: ./.github/actions/setup_xapian
 | 
			
		||||
      - uses: ./.github/actions/compile_messages
 | 
			
		||||
      - name: Run tests
 | 
			
		||||
        run: poetry run coverage run ./manage.py test
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user