Skip to content

Commit

Permalink
Merge pull request #398 from TAMUSHPE/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
JasonIsAzn authored Jul 5, 2024
2 parents 12124f0 + 1aca5bf commit 33cc1ec
Show file tree
Hide file tree
Showing 157 changed files with 13,161 additions and 9,415 deletions.
36 changes: 31 additions & 5 deletions .github/workflows/CITests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main", "dev" ]
workflow_dispatch:

jobs:
jest-test:
Expand All @@ -13,6 +14,7 @@ jobs:
strategy:
matrix:
node-version: [ 18.x ]
java-version: [ 21 ]

steps:
- uses: actions/checkout@v3
Expand All @@ -21,22 +23,46 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Use Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}

- name: Set Environment Variables
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
FLICKER_USER_ID: ${{ secrets.FLICKER_USER_ID }}
FLICKER_API_KEY: ${{ secrets.FLICKER_API_KEY }}
GOOGLE_PLACES_API_KEY: ${{ secrets.GOOGLE_PLACES_API_KEY }}
FIREBASE_EMULATOR_ADDRESS: 127.0.0.1
FIREBASE_AUTH_PORT: 9099
FIREBASE_FIRESTORE_PORT: 8080
FIREBASE_CLOUD_FUNCTIONS_PORT: 5001
FIREBASE_STORAGE_PORT: 9199
run: echo "Environment variables set"

- name: Install dependencies
run: yarn install

- name: Run tests
- name: Install Dependencies
run: |
yarn install
yarn global add firebase-tools
- name: Build Cloud Functions
working-directory: ./functions
run: |
npm install
npm run build
- name: Run Tests
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
FLICKER_USER_ID: ${{ secrets.FLICKER_USER_ID }}
FLICKER_API_KEY: ${{ secrets.FLICKER_API_KEY }}
GOOGLE_PLACES_API_KEY: ${{ secrets.GOOGLE_PLACES_API_KEY }}
run: yarn test
FIREBASE_EMULATOR_ADDRESS: 127.0.0.1
FIREBASE_AUTH_PORT: 9099
FIREBASE_FIRESTORE_PORT: 8080
FIREBASE_CLOUD_FUNCTIONS_PORT: 5001
FIREBASE_STORAGE_PORT: 9199
run: firebase emulators:exec 'yarn test'
10 changes: 6 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"expo": {
"name": "TAMU SHPE",
"slug": "TAMU-SHPE",
"version": "0.6.4",
"version": "1.0.0",
"owner": "tamu-shpe",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"userInterfaceStyle": "automatic",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
Expand Down Expand Up @@ -52,11 +52,13 @@
"permissions": [
"android.permission.RECORD_AUDIO"
],
"versionCode": 31
"versionCode": 31,
"userInterfaceStyle": "automatic"
},
"ios": {
"bundleIdentifier": "com.tamu.shpe",
"buildNumber": "1"
"buildNumber": "2",
"userInterfaceStyle": "automatic"
},
"extra": {
"eas": {
Expand Down
Binary file added assets/SHPE_NAVY.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/SHPE_NAVY_Header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/SHPE_NAVY_Horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/SHPE_WHITE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/SHPE_WHITE_Header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/arrow-down-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/arrow-down-solid_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/file-circle-plus-solid_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/generic_course_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/generic_course_icon_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions assets/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const Images = {
export const Images = {
LOGO_LIGHT: require("./logo_light.png"),
DEFAULT_USER_PICTURE: require("./default_user_picture.png"),
UPLOAD_ARROW: require("./upload_arrow.png"),
Expand All @@ -15,11 +15,16 @@ export const Images = {
GENEVA: require("./geneva.png"),
INSTAGRAM: require("./Instagram-Logo.png"),
FLICKER: require("./flicker.png"),
SHPE_LOGO_VERT:require("./SHPE_Logo_Vert.png"),
SHPE_LOGO_VERT: require("./SHPE_Logo_Vert.png"),
COMMITTEE_1: require("./committee_1.png"),
COMMITTEE_2: require("./committee_2.png"),
COMMITTEE_3: require("./committee_3.png"),
COMMITTEE_4: require("./committee_4.png"),
COMMITTEE: require("./committee.png"),
EVENT: require("./event.png"),
SHPE_NAVY: require("./SHPE_NAVY.png"),
SHPE_NAVY_HORIZ: require("./SHPE_NAVY_Horizontal.png"),
SHPE_NAVY_HEADER: require("./SHPE_NAVY_Header.png"),
SHPE_WHITE_HEADER: require("./SHPE_WHITE_Header.png"),
SHPE_WHITE: require("./SHPE_WHITE.png"),
};
17 changes: 11 additions & 6 deletions assets/internal_affairs_committee_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/internal_affairs_committee_icon_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/intramural_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 33cc1ec

Please sign in to comment.