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

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

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

Okay