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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay