Skip to content

Revise notification scheduler removing redundant code #1310

Revise notification scheduler removing redundant code

Revise notification scheduler removing redundant code #1310

Workflow file for this run

name: Tests
on: [ push, pull_request ]
# Declare default permissions as read only.
permissions: read-all
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
jobs:
run_tests:
runs-on: "ubuntu-latest"
steps:
- name: Check out repository code
uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
- name: Cache npm dependencies
uses: actions/cache@v5.0.4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('client/npm-shrinkwrap.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Cache pip dependencies
uses: actions/cache@v5.0.4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('backend/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install git
run: |
sudo apt update -q
sudo apt install -y git
- name: Run tests
run: |
cd $GITHUB_WORKSPACE
./.github/workflows/scripts/run_tests.sh