Skip to content

Commit

Permalink
Merge pull request #350 from Mangopay/github_actions
Browse files Browse the repository at this point in the history
Improve Github actions
  • Loading branch information
iulian03 authored Mar 8, 2024
2 parents 735cdfb + a6eacac commit 65a2bc6
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/build_py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
# push on master branch
- master
# push on a feature branch
- feature/*
# push on a bugfix branch
- bugfix/*
pull_request:
branches: [ master ]

Expand All @@ -19,16 +15,16 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/base.txt
pip install -r requirements/development.txt
- name: Run tests
run: |
python -m unittest discover
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/base.txt
pip install -r requirements/development.txt
- name: Run tests
run: |
python -m unittest discover

0 comments on commit 65a2bc6

Please sign in to comment.