Skip to content

Bump pytest from 3.7.1 to 8.2.2 #150

Bump pytest from 3.7.1 to 8.2.2

Bump pytest from 3.7.1 to 8.2.2 #150

Workflow file for this run

name: Finalized specs
on: [push, pull_request]
jobs:
change_check:
name: Check if file changed
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
modified: ${{ steps.changes.outputs.modified }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- id: changes
# Set outputs using the command.
run: |
echo "::set-output name=modified::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep spec/labels-v1.json$ | xargs)"
unit_test:
name: Error if finalized spec modified
needs: change_check
if: ${{ needs.change_check.outputs.modified }}
runs-on: ubuntu-18.04
steps:
- name: Fail if specs modified
run: exit 1