summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3f77679)
pip3 and python3-setuptools are available out of the box on
ubuntu-latest. By not having to install python3-virtualenv we gain ~6
seconds in each of of the codecheck and unit tests runs. So instead
let's rely on system wide pip3, given that we're running in a throw-away
VM anyway.
Thanks: Chris Hofstaedtler
- name: Checkout source
uses: actions/checkout@v2
- name: Checkout source
uses: actions/checkout@v2
- - name: Install virtualenv + python3-setuptools
- run: sudo apt-get install virtualenv python3-setuptools
-
- - name: Set up Python virtualenv environment
- run: virtualenv -p /usr/bin/python3 venv3
-
- - name: Activate Python virtualenv environment
- run: . ./venv3/bin/activate
-
- name: pip install wheel (to make install black work)
run: pip3 install wheel
- name: pip install wheel (to make install black work)
run: pip3 install wheel
- name: Checkout source
uses: actions/checkout@v2
- name: Checkout source
uses: actions/checkout@v2
- - name: Install virtualenv + python3-setuptools
- run: sudo apt-get install virtualenv python3-setuptools
-
- - name: Set up Python virtualenv environment
- run: virtualenv -p /usr/bin/python3 venv3
-
- - name: Activate Python virtualenv environment
- run: . ./venv3/bin/activate
-
- name: Install pytest
run: pip3 install pytest
- name: Install pytest
run: pip3 install pytest