-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 1.05 KB
/
pycodestyle.yml
File metadata and controls
38 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
on:
workflow_call:
inputs:
PARENT_BRANCH:
description: "The master/main branch of the repository to compare files againt"
type: string
required: true
jobs:
PyCodeStyle:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.ULTIMAKER_CI_PAT }}
submodules: recursive
- name: PyCodeStyle
run: |
export PARENT_BRANCH="${{ inputs.PARENT_BRANCH }}"
source ./docker_env/make_docker.sh ""
run_in_docker "./ci/run_pycodestyle.sh"
- name: Dump GitHub context
if: ${{ always() }}
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
JOB_CONTEXT: ${{ toJson(job) }}
STEPS_CONTEXT: ${{ toJson(steps) }}
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: |
echo "${GITHUB_CONTEXT}"
echo "${JOB_CONTEXT}"
echo "${STEPS_CONTEXT}"
echo "${RUNNER_CONTEXT}"