-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #346 from maykinmedia/validate_dependencies
✅ - Add tests for compile_dependencies.
- Loading branch information
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |