Skip to content

Commit fb3722e

Browse files
committed
update ga
1 parent a3bb7d2 commit fb3722e

2 files changed

Lines changed: 18 additions & 13 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,20 @@ jobs:
99
steps:
1010

1111
- name: checkout repo content
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313

1414
- name: setup python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v4
1616
with:
17-
python-version: '3.7'
18-
19-
- name: execute py script
17+
python-version: '3.10'
18+
19+
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install --user -e git+https://github.com/wsp-sag/network_wrangler.git@master#egg=network_wrangler
22+
pip install pytest
23+
pip install -e git+https://github.com/network_wrangler/network_wrangler.git@master#egg=network_wrangler
24+
25+
26+
- name: Run tests
27+
run: |
2328
pytest -s -m ci

.github/workflows/update-registry.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ jobs:
99
steps:
1010

1111
- name: checkout repo content
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313

1414
- name: setup python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v4
1616
with:
17-
python-version: '3.7'
17+
python-version: '3.10'
1818

1919
- name: execute py script
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install --user -e git+https://github.com/wsp-sag/network_wrangler.git@master#egg=network_wrangler
22+
pip install -e git+https://github.com/network_wrangler/network_wrangler.git@master#egg=network_wrangler
2323
python update_registry.py
2424
2525
- name: commit files
2626
run: |
27-
git config --local user.email "david.ory@gmail.com"
28-
git config --local user.name "DavidOry"
27+
git config --local user.email "github-actions[bot]"
28+
git config --local user.name "github-actions[bot]@users.noreply.github.com"
2929
git add -A
3030
git commit --allow-empty -m "GitHub Action automated registry update" -a
3131
3232
- name: push changes
3333
uses: ad-m/github-push-action@v0.6.0
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
branch: main
36+
branch: ${{ github.ref_name }}

0 commit comments

Comments
 (0)