DEV Community

Eliyahou
Eliyahou

Posted on • Edited on

CI - Countinous Integration

  • In the lesson we have learned how to create actions in file .github/workflows
  • The porpos is that when we push PR into github We want to have some checks on it
  • We have learned about local environment that we can use in the action and about Matrix that uses Dynamic variables we also saw an exaples of the action in run time
  • It is done by creating a YAML with some action in it
  • An example of YAML file:
name: Python

on: push

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3

    - name: Setup Python
      uses: actions/setup-python@v2

    - name: Install dependencies
      run: pip install -r requirements.txt

    - name: Check Python version
      run: python -V

    - name: Test with pytest
      run: pytest
Enter fullscreen mode Exit fullscreen mode

I created CI for project name xpath-filter
The PR for Adding the CI

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay