-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install python versions through OS-specific options
- Loading branch information
1 parent
d4bce8e
commit 39f54c3
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,22 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@ | ||
- name: Install python versions for Linux | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo add-apt-repository ppa:deadsnakes/ppa | ||
sudo apt update | ||
sudo apt-get install -y python3.7 python3.8 | ||
- name: Install python versions for MacOS | ||
if: runner.os == 'macOS' | ||
run: | | ||
brew update | ||
brew install [email protected] [email protected] | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.8' | ||
python-version: '3.x' | ||
- name: Install tox | ||
run: pip install tox | ||
- name: Run python tests | ||
|