diff --git a/.github/workflows/backend-tests.yaml b/.github/workflows/backend-tests.yaml deleted file mode 100644 index 6cbbb7f5..00000000 --- a/.github/workflows/backend-tests.yaml +++ /dev/null @@ -1,27 +0,0 @@ -name: backend-tests - -on: - push: - branches: [main, development] - pull_request: - branches: [main, development] - workflow_dispatch: - -jobs: - test: - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.11 - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install poetry - poetry install --directory=./backend - - name: Compile translations - run: django-admin compilemessages - - name: Execute tests - run: cd backend; python manage.py test diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c67a6793..7c045a4f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,6 +13,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run tests - run: | - echo ${{ secrets.SUDO }} > ~/.test.txt - echo ${{ secrets.SUDO }} | sudo -S ./test.sh -c + run: echo ${{ secrets.SUDO }} | sudo -S ./test.sh -c