-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #322 from ZeusWPI/update-master
Update master
- Loading branch information
Showing
430 changed files
with
6,520 additions
and
5,413 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Android CI | ||
|
||
# We run the tests on master, development and for PR's. | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- development | ||
pull_request: | ||
|
||
jobs: | ||
build-debug: | ||
name: Test debug | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Cache Gradle files | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: debug-${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: | | ||
debug-${{ runner.os }}-gradle- | ||
- name: Test with Gradle | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
arguments: testDebug | ||
build-release: | ||
name: Test release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Cache Gradle files | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: release-${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: | | ||
release-${{ runner.os }}-gradle- | ||
- name: Test with Gradle | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
arguments: testRelease |
This file contains 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
This file contains 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
This file contains 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
82 changes: 82 additions & 0 deletions
82
app/schemas/be.ugent.zeus.hydra.common.database.Database/16.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"formatVersion": 1, | ||
"database": { | ||
"version": 16, | ||
"identityHash": "0dfdb937cb9a30f505938112bcd0affc", | ||
"entities": [ | ||
{ | ||
"tableName": "feed_dismissals", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`dismissal_date` TEXT NOT NULL, `card_type` INTEGER NOT NULL, `card_identifier` TEXT NOT NULL, PRIMARY KEY(`card_type`, `card_identifier`))", | ||
"fields": [ | ||
{ | ||
"fieldPath": "dismissalDate", | ||
"columnName": "dismissal_date", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "identifier.cardType", | ||
"columnName": "card_type", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "identifier.identifier", | ||
"columnName": "card_identifier", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
} | ||
], | ||
"primaryKey": { | ||
"columnNames": [ | ||
"card_type", | ||
"card_identifier" | ||
], | ||
"autoGenerate": false | ||
}, | ||
"indices": [ | ||
{ | ||
"name": "index_feed_dismissals_card_type", | ||
"unique": false, | ||
"columnNames": [ | ||
"card_type" | ||
], | ||
"createSql": "CREATE INDEX `index_feed_dismissals_card_type` ON `${TABLE_NAME}` (`card_type`)" | ||
} | ||
], | ||
"foreignKeys": [] | ||
}, | ||
{ | ||
"tableName": "library_favourites", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `id` TEXT NOT NULL, PRIMARY KEY(`id`))", | ||
"fields": [ | ||
{ | ||
"fieldPath": "name", | ||
"columnName": "name", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "id", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
} | ||
], | ||
"primaryKey": { | ||
"columnNames": [ | ||
"id" | ||
], | ||
"autoGenerate": false | ||
}, | ||
"indices": [], | ||
"foreignKeys": [] | ||
} | ||
], | ||
"views": [], | ||
"setupQueries": [ | ||
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", | ||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0dfdb937cb9a30f505938112bcd0affc')" | ||
] | ||
} | ||
} |
Oops, something went wrong.