Skip to content

Commit a51be0e

Browse files
dependencies added
1 parent 8b9afe6 commit a51be0e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,20 @@ jobs:
2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23-
- uses: actions/checkout@v2
23+
- name: Set Github Workspace
24+
uses: actions/checkout@v2
2425
- name: Set up Python 3.x
2526
uses: actions/setup-python@v2
2627
with:
2728
# Semantic version range syntax or exact version of a Python version
2829
python-version: '3.8'
2930
# Optional - x64 or x86 architecture, defaults to x64
30-
architecture: 'x64'
31-
31+
architecture: 'x64'
32+
- name: Install dependencies
33+
run: |
34+
python -m pip install --upgrade pip
35+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
36+
3237
# Runs a single command using the runners shell
33-
- name: Run a one-line script
38+
- name: Run unittests
3439
run: python test/test.py

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests

0 commit comments

Comments
 (0)