Skip to content

Commit

Permalink
CI workarounds: crypto, 20.04/python3.8
Browse files Browse the repository at this point in the history
The cryptography package installation is failing, which
breaks the build/wheel install. We work around
this by manually upgrading pyOpenSSL.

Also currently the cross-validation tests specify python3.8,
so we run on 20.04 which still has it.
  • Loading branch information
lantz committed Jul 6, 2023
1 parent ab4eb66 commit e4b40bc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
test:
name: Mininet-Optical Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:

- name: apt update
Expand All @@ -18,7 +18,12 @@ jobs:

- name: Check out source code
uses: actions/checkout@v2


- name: Workaround for broken actions crypto package
run: |
pip3 install --upgrade pyOpenSSL
sudo pip3 install --upgrade pyOpenSSL
- name: Install Mininet-Optical dependencies (besides Mininet)
run: make depend

Expand All @@ -44,4 +49,3 @@ jobs:

- name: Run OFC Demo Tests
run: PYTHONPATH= make demotest

0 comments on commit e4b40bc

Please sign in to comment.