Remove configuration deprecated with 8d2ef3d34ca0f8fd6396c2ebaaef3397… #353
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Server | |
| on: | |
| push: | |
| paths: | |
| - "server/**" | |
| - ".github/workflows/server.yml" | |
| pull_request: | |
| paths: | |
| - "server/**" | |
| - ".github/workflows/server.yml" | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: 27.0 | |
| elixir-version: 1.18.0 | |
| - name: Start CouchDB | |
| run: docker compose -f docker-compose.yml --env-file .env_template up -d | |
| working-directory: server | |
| - name: Sleep to await CouchDB startup | |
| run: sleep 15s | |
| - name: Restore dependencies cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: deps | |
| key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
| restore-keys: ${{ runner.os }}-mix- | |
| - name: Install Field Hub dependencies and run setup | |
| run: mix setup | |
| working-directory: server | |
| - name: Run Field Hub tests | |
| run: mix test | |
| working-directory: server |