You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+
# This workflow will upload a Python Package using Twine when a release is created
5
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
6
+
7
+
# This workflow uses actions that are not certified by GitHub.
8
+
# They are provided by a third-party and are governed by
9
+
# separate terms of service, privacy policy, and support
10
+
# documentation.
11
+
12
+
13
+
name: Python application
14
+
15
+
16
+
on:
17
+
release:
18
+
types: [published]
19
+
workflow_dispatch:
20
+
21
+
permissions:
22
+
contents: read
23
+
24
+
jobs:
25
+
build:
26
+
27
+
runs-on: ubuntu-latest
28
+
environment: release
29
+
permissions:
30
+
id-token: write
31
+
steps:
32
+
- uses: actions/checkout@v4
33
+
- name: Set up Python 3.12
34
+
uses: actions/setup-python@v3
35
+
with:
36
+
python-version: "3.12"
37
+
- name: Install dependencies
38
+
run: |
39
+
python -m pip install --upgrade pip
40
+
pip install flake8 pytest
41
+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
42
+
- name: Lint with flake8
43
+
run: |
44
+
# stop the build if there are Python syntax errors or undefined names
self.cloud_requests.request_outputs.append({"receive":received_request.timestamp, "request_id":received_request.request_id, "output":[f"Error in request {self.name}","Check the Python console"], "priority":self.response_priority})
self.cloud_requests.request_outputs.append({"receive":received_request.timestamp, "request_id":received_request.request_id, "output":[f"Error in request {self.name}","Check the Python console"], "priority":self.response_priority})
48
55
self.cloud_requests.responder_event.set() # Activate the .cloud_requests._responder process so it sends back the data to Scratch
"Either the provided authentication data is wrong or your network is banned from Scratch.\n\nIf you're using an online IDE (like replit.com) Scratch possibly banned its IP adress. In this case, try logging in with your session id: https://github.com/TimMcCool/scratchattach/wiki#logging-in")
1095
+
"Either the provided authentication data is wrong or your network is banned from Scratch.\n\nIf you're using an online IDE (like replit.com) Scratch possibly banned its IP address. In this case, try logging in with your session id: https://github.com/TimMcCool/scratchattach/wiki#logging-in")
0 commit comments