-
Notifications
You must be signed in to change notification settings - Fork 0
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 #235 from SELab-2/services
Action script for tests, service tests, faculty ID
- Loading branch information
Showing
15 changed files
with
514 additions
and
65 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
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: [main, development] | ||
pull_request: | ||
branches: [main, development] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Add permission to remove contents of previous action script | ||
run: echo ${{ secrets.SUDO }} | sudo -S chown -R $USER:$USER /home/selab2/actions-runner/_work/UGent-7/ | ||
- uses: actions/checkout@v4 | ||
- name: Run tests | ||
run: echo ${{ secrets.SUDO }} | sudo -S ./test.sh -c |
27 changes: 27 additions & 0 deletions
27
backend/api/migrations/0010_rename_errortemplate_errortemplates_and_more.py
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,27 @@ | ||
# Generated by Django 5.0.3 on 2024-04-05 16:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("api", "0009_merge_0008_add_extra_checks_0008_course_faculty"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameModel( | ||
old_name="errortemplate", | ||
new_name="ErrorTemplates", | ||
), | ||
migrations.RenameField( | ||
model_name="extracheck", | ||
old_name="docker_image_id", | ||
new_name="docker_image", | ||
), | ||
migrations.AlterField( | ||
model_name="dockerimage", | ||
name="custom", | ||
field=models.BooleanField(default=True), | ||
), | ||
] |
Oops, something went wrong.