Skip to content

Commit

Permalink
remove reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kislovskiy committed Apr 14, 2024
1 parent b6ed8c1 commit 7923e81
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/2023-PyData_Berlin-python-pdf-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,24 @@ jobs:
lint:
name: 🚨 Lint Python code
if: ${{ needs.changes.outputs.PyDataBerlinChanges == 'true' }}
if: needs.changes.outputs.changes == 'true'
needs: changes
runs-on: ubuntu-latest
steps:
- name: Trigger Reusable Workflow
uses: Kislovskiy/talks/.github/workflows/lint_python_reusable.yaml
- name: Setup Python environment
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
project: "2023_PyData_Berlin"
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run:
pip install -r 2023_PyData_Berlin/requirements.txt
- name: Run Black
run:
black 2023_PyData_Berlin --check
- name: Run Flake8
run:
flake8 --config 2023_PyData_Berlin/.flake8 2023_PyData_Berlin

test:
name: 🕵 Test Python code
Expand Down

0 comments on commit 7923e81

Please sign in to comment.