Skip to content

Commit c37ef84

Browse files
authored
Simplify test routine for Linux
1 parent 6e0c736 commit c37ef84

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ jobs:
4444
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
4545
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4646
47-
# Install hop client and prepare to run. Different cases for Linux/Mac.
48-
- name : Install hop-client (Linux)
49-
run: |
50-
pip install setuptools wheel
51-
pip install hop-client==0.9.0
52-
cd /home/runner/work/SNEWS_Publishing_Tools/SNEWS_Publishing_Tools
53-
if: runner.os == 'Linux'
54-
5547
- name: Install hop-client (Mac OS)
5648
run: |
5749
pip install setuptools wheel
@@ -62,22 +54,16 @@ jobs:
6254
cd $GITHUB_WORKSPACE
6355
if: runner.os == 'macOS'
6456

65-
# Install package requirements. Different cases for Linux/Mac.
66-
- name: Install requirements (Linux)
67-
run: |
68-
python -m pip install --upgrade pip
69-
pip install wheel
70-
pip install python-dotenv click tabulate confluent_kafka
71-
sudo apt-get install -y expect
72-
if: runner.os == 'Linux'
73-
7457
- name: Install requirements (Mac OS)
7558
run: |
7659
python -m pip install --upgrade pip
7760
pip install wheel
7861
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
7962
if: runner.os == 'macOS'
8063

64+
- name: Install snews-pt
65+
run: pip install .
66+
8167
- shell: bash
8268
env:
8369
USERNAME: ${{ secrets.username }}
@@ -97,9 +83,6 @@ jobs:
9783
HOP
9884
hop auth locate
9985
100-
- name: Install snews-pt
101-
run: pip install .
102-
10386
- name: Check version
10487
run: snews_pt --version
10588

0 commit comments

Comments
 (0)