1
0
Fork 0
mirror of synced 2024-06-27 10:41:00 +12:00

Merge branch 'master' of https://github.com/appwrite/appwrite into 0.11.x

This commit is contained in:
Torsten Dittmann 2021-10-17 16:31:07 +02:00
commit 6c33145ef4
2 changed files with 14 additions and 41 deletions

View file

@ -1,41 +0,0 @@
name: "Tests"
on: [pull_request]
jobs:
tests:
name: Unit & E2E
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Build Appwrite
# Upstream bug causes buildkit pulls to fail so prefetch base images
# https://github.com/moby/moby/issues/41864
run: |
echo "_APP_FUNCTIONS_RUNTIMES=php-8.0" >> .env
docker pull composer:2.0
docker pull php:8.0-cli-alpine
docker-compose build
docker-compose up -d
sleep 10
- name: Doctor
run: docker-compose exec -T appwrite doctor
- name: Environment Variables
run: docker-compose exec -T appwrite vars
- name: Run Tests
run: docker-compose exec -T appwrite test --debug

View file

@ -16,6 +16,20 @@ return [
'video/quicktime',
'video/x-msvideo',
'video/x-ms-wmv',
// Audio Files
'audio/basic', // au snd RFC 2046
'auido/L24', // Linear PCM RFC 3190
'audio/mid', // mid rmi
'audio/mpeg', // mp3 RFC 3003
'audio/mp4', // mp4 audio
'audio/x-aiff', // aif aifc aiff
'audio/x-mpegurl', // m3u
'audio/vnd.rn-realaudio', // ra ram
'audio/ogg', // Ogg Vorbis RFC 5334
'audio/vorbis', // Vorbis RFC 5215
'audio/vnd.wav', // wav RFC 2361
// Microsoft Word
'application/msword',