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)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free