Skip to content

Commit

Permalink
Merge pull request #346 from maykinmedia/validate_dependencies
Browse files Browse the repository at this point in the history
✅ - Add tests for compile_dependencies.
  • Loading branch information
alextreme authored Nov 28, 2022
2 parents 25afe67 + 2f25358 commit 94de385
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Resolve dependencies

on:
push:
branches:
- main
- develop
tags:
- '**'
paths:
- 'bin/*'
- 'requirements/*'
pull_request:
paths:
- 'bin/*'
- 'requirements/*'
workflow_dispatch:

jobs:
compile_dependencies_linux:
name: Run compile_dependencies on Linux
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Install pip-tools
run: pip install pip-tools

- name: Make sure current directory can be detected a git repository
run: git init

- name: Run bin/compile_dependencies.sh
run: ./bin/compile_dependencies.sh


compile_dependencies_macos:
name: Run compile_dependencies on MacOS
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Install pip-tools
run: pip install pip-tools

- name: Make sure current directory can be detected a git repository
run: git init

- name: Run bin/compile_dependencies.sh
run: ./bin/compile_dependencies.sh

0 comments on commit 94de385

Please sign in to comment.