Skip to content

Install python versions through OS-specific options #84

Install python versions through OS-specific options

Install python versions through OS-specific options #84

Workflow file for this run

name: Python Build
on:
push:
branches: [ main, actions ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
BUILD_TYPE: Release
DEBUG_OUTPUT: false
jobs:
build-n-test:
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-14, macos-13, macos-12]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@

Check failure on line 22 in .github/workflows/py3-workflow.yml

View workflow run for this annotation

GitHub Actions / Python Build

Invalid workflow file

The workflow is not valid. .github/workflows/py3-workflow.yml (Line: 22, Col: 13): Expected format {org}/{repo}[/path]@ref. Actual 'actions/checkout@' Input string was not in a correct format. Failure to parse near offset 80. Expected an ASCII digit.
- 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.x'
- name: Install tox
run: pip install tox
- name: Run python tests
run: cd src/python_module/test && tox