chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /js #3
Workflow file for this run
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
name: Pull Request | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
support-matrix: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v2 | |
- id: set-matrix | |
run: echo "::set-output name=matrix::$(python cicd-matrix.py)" | |
coverage-artifact-name: | |
runs-on: ubuntu-latest | |
outputs: | |
ref: ${{ steps.get-ref.outputs.ref }} | |
steps: | |
- id: get-ref | |
run: | | |
ref=${{ github.ref }} | |
echo "::set-output name=ref::${ref////-}" | |
run-tests: | |
needs: [ support-matrix, coverage-artifact-name ] | |
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ${{ fromJson(needs.support-matrix.outputs.matrix).os }} | |
python-version: ${{ fromJson(needs.support-matrix.outputs.matrix).python-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v2 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.dev.txt') }} | |
- name: Use Node.js version 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16.19.1" | |
- name: Install Dependencies | |
run: | | |
pip install --upgrade --upgrade-strategy eager -r requirements.txt -r requirements.dev.txt -e . | |
- name: Run Tests | |
uses: ./.github/workflows/run-tests | |
with: | |
coverage-artifact-name: code-coverage | |