diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64077534..630c68fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,6 @@ name: ci on: -# push: -# branches: -# - folder_struct_and_setup workflow_dispatch: schedule: - cron: 0 0 1 * 0 # monthly diff --git a/.github/workflows/connect.yml b/.github/workflows/connect.yml index 67a0acc5..aad389ee 100644 --- a/.github/workflows/connect.yml +++ b/.github/workflows/connect.yml @@ -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 \ No newline at end of file + 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