Skip to content

Commit

Permalink
commented workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Jun 13, 2023
1 parent f0158ff commit ed05acf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: ci

on:
# push:
# branches:
# - folder_struct_and_setup
workflow_dispatch:
schedule:
- cron: 0 0 1 * 0 # monthly
Expand Down
30 changes: 17 additions & 13 deletions .github/workflows/connect.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
# Workflow to connect to a runner
name: connect

# Trigger the workflow manually
on:
workflow_dispatch:

jobs:
build:
name: build
runs-on: ubuntu-latest
name: build # Name of the job
runs-on: ubuntu-latest # Operating system for the job

steps:
- name: Checkout
- name: Checkout # Step to checkout the repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
ref: ${{ github.ref }} # Use the current Git reference

- name: Set up Python
uses: actions/setup-python@v4 # Use v4 for compatibility with pyproject.toml
- name: Set up Python # Step to set up Python
uses: actions/setup-python@v4 # Use v4 for compatibility with pyproject.toml
with:
python-version: '3.10'
cache: pip
python-version: '3.10' # Specify the Python version
cache: pip # Cache the pip packages

- name: Install dependencies
- name: Install dependencies # Step to install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: Setup tmate session (copy paste ssh command to connect to runner)
uses: mxschmitt/action-tmate@v3
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

0 comments on commit ed05acf

Please sign in to comment.