From 8688e4aaf554eb668277de59a3892f42705dcd06 Mon Sep 17 00:00:00 2001 From: Rene Enriquez Date: Sun, 12 Apr 2020 08:51:52 -0500 Subject: [PATCH] #58 fix keys.ts --- .github/workflows/CI-mutation-tests.yml | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/CI-mutation-tests.yml diff --git a/.github/workflows/CI-mutation-tests.yml b/.github/workflows/CI-mutation-tests.yml new file mode 100644 index 000000000..c1ee543a6 --- /dev/null +++ b/.github/workflows/CI-mutation-tests.yml @@ -0,0 +1,38 @@ +name: Running mutation tests + +on: + schedule: + - cron: '0 9 * * 1' + +jobs: + configuring-stryker: + name: Running stryker + runs-on: ubuntu-latest + timeout-minutes: 360 + steps: + - name: Clone and checkout branch + uses: actions/checkout@master + + - name: Set up Node.js version + uses: actions/setup-node@v1 + with: + node-version: '12.x' + + - name: Install dependencies + run: npm install + + - name: Inject Secrets + env: + SCOPES: ${{ secrets.scopes }} + CLIENT_ID: ${{ secrets.client_id }} + AUTHORITY: ${{ secrets.authority }} + run: sudo sh scripts/populate-keys.sh + + - name: Run the test + run: npm run ci-test --if-present + + - name: Installing stryker-cli + run: npm install -g stryker-cli + + - name: Running stryker + run: stryker run