Skip to content

Commit

Permalink
Merge branch 'restoreBackend'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bandisa committed Oct 31, 2023
2 parents fdbde21 + 0108864 commit 5afe2d1
Show file tree
Hide file tree
Showing 244 changed files with 36,721 additions and 7,265 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/backend.unit.test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Backend Unit Tests
on:
push:
branches: [main, dev, restoreBackend, backend, pre-main]
pull_request:
branches: [main, dev, restoreBackend, backend, pre-main]

jobs:
backend-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version}}
- name: Insalling Test Dependancies
run: |
cd function/prontoAuthPostConfirmation/src
yarn
cd ../../prontoAuthPreAuthentication/src
yarn
cd ../../prontoAuthPreSignup/src
yarn
cd ../../../
npm install
- name: Running Backend Tests
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@ amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end
.config/
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.18.1
hooks:
- id: ggshield
language_version: python3
stages: [commit]
6 changes: 1 addition & 5 deletions MobileApp/graphql/mutations.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable */
// this is an auto generated file. This will be overwritten


export const createStudent = /* GraphQL */ `
mutation CreateStudent(
$input: CreateStudentInput!
Expand Down Expand Up @@ -97,7 +96,7 @@ export const createEnrollment = /* GraphQL */ `
studentId
courseId
year
course {
id
institutionId
Expand Down Expand Up @@ -204,7 +203,6 @@ export const updateTimetable = /* GraphQL */ `
}
`;


export const createNotificationPreferance = /* GraphQL */ `
mutation CreateNotificationPreferance(
$input: CreateNotificationPreferanceInput!
Expand Down Expand Up @@ -253,5 +251,3 @@ export const updateNotificationPreferance = /* GraphQL */ `
}
}
`;


17 changes: 0 additions & 17 deletions amplify/.config/project-config.json

This file was deleted.

21 changes: 0 additions & 21 deletions amplify/backend/analytics/prontoEmailNotifications/parameters.json

This file was deleted.

Loading

0 comments on commit 5afe2d1

Please sign in to comment.