connect #20
Workflow file for this run
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
# Workflow to connect to a runner | |
name: connect | |
# Trigger the workflow manually | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: build # Name of the job | |
strategy: | |
matrix: | |
os: [ubuntu-latest] #[ubuntu-latest, macos-latest, windows-latest] | |
python-version: ['3.8', '3.9', '3.10'] | |
runs-on: ${{ matrix.os }} # Operating system for the job | |
steps: | |
- name: Checkout # Step to checkout the repository | |
uses: actions/checkout@v3 | |
- name: Set up Python # Step to set up Python | |
uses: actions/setup-python@v4 # Use v4 for compatibility with pyproject.toml | |
with: | |
python-version: ${{ matrix.python-version }} # Specify the Python version | |
cache: pip # Cache the pip packages | |
- name: Install dependencies # Step to install dependencies | |
run: | | |
python -m pip install --upgrade pip # Upgrade pip | |
python -m pip install . # Install the project | |
- name: Setup tmate session (copy paste ssh command to connect to runner) # Step to set up tmate session | |
uses: mxschmitt/action-tmate@v3 # Use the action-tmate v3 action |