Skip to content

Commit

Permalink
Resolve minor issues with satellite template (#2)
Browse files Browse the repository at this point in the history
* Resolve minor issues with satellite template

* Migrate to checkout v2

Co-authored-by: Alex Martin <alexander.martin@cfpb.gov>
  • Loading branch information
alexm118 and Alex Martin authored Aug 26, 2020
1 parent a00e519 commit adda27c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
13 changes: 10 additions & 3 deletions workflow-templates/cfgov-python-satellite-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Python CI workflow

on: [pull_request, push]
on:
push:
branches:
- master
- main
pull_request:

jobs:
backend:
Expand All @@ -10,8 +15,8 @@ jobs:
matrix:
# Add the appropriate Tox environments for the satellite here
toxenv:
- py36
- py38
- py36-dj22
- py38-dj22
include:
# Adjust the Python versions required for the tox environments as
# needed
Expand All @@ -22,6 +27,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v1
Expand Down
4 changes: 3 additions & 1 deletion workflow-templates/cfgov-python-satellite-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0

# If the package has a front-end build we need to set up and install
# Node and other dependencies
Expand Down
4 changes: 3 additions & 1 deletion workflow-templates/cfpb-pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v1
Expand Down
2 changes: 2 additions & 0 deletions workflow-templates/cfpb-python-library-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v1
Expand Down

0 comments on commit adda27c

Please sign in to comment.