Skip to content

Commit

Permalink
Merge pull request #235 from SELab-2/services
Browse files Browse the repository at this point in the history
Action script for tests, service tests, faculty ID
  • Loading branch information
tyboro2002 authored Apr 6, 2024
2 parents 62a6a08 + 7da10f6 commit 6130296
Show file tree
Hide file tree
Showing 15 changed files with 514 additions and 65 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backend-linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ 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: Set up Python 3.11
uses: actions/setup-python@v4
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/backend-tests.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/tests.yaml
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
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),
),
]
Loading

0 comments on commit 6130296

Please sign in to comment.