Skip to content

Commit ad8005c

Browse files
committed
NOGH: General pipeline cleanup
1 parent bd231ef commit ad8005c

File tree

3 files changed

+15
-32
lines changed

3 files changed

+15
-32
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
jobs:
1212
build:
13-
1413
runs-on: ${{ matrix.os }}
1514
strategy:
1615
fail-fast: false
@@ -21,37 +20,37 @@ jobs:
2120
steps:
2221
- uses: actions/checkout@v5
2322
- uses: ./.github/actions/setup-python
23+
2424
- name: Install dependencies
25-
run: |
26-
python scripts/os_specific_requirements.py
27-
python -m pip install --upgrade pip
28-
pip install -r requirements.txt
29-
shell: bash
25+
run: pip install -r requirements.txt
26+
3027
- name: Lint
31-
run: |
32-
python scripts/lint.py
33-
shell: bash
28+
run: python scripts/lint.py
29+
3430
- name: Test
35-
run: |
36-
pytest --doctest-modules --cov=src/main/ --cov-report=xml src/test
31+
run: pytest --doctest-modules --cov=src/main/ --cov-report=xml src/test
32+
3733
- name: Package
38-
run: |
39-
python scripts/build_executable.py
34+
run: python scripts/build_executable.py
35+
4036
- uses: actions/upload-artifact@master
4137
with:
4238
name: ${{ runner.os }}
4339
path: ./dist/*
40+
4441
- name: Integration
45-
run: |
46-
pytest src/integration
42+
run: pytest src/integration
43+
4744
- name: Upload code coverage to codecov
4845
if: runner.os == 'Linux'
4946
env:
5047
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5148
run: bash <(curl -s https://codecov.io/bash) -t "$CODECOV_TOKEN" -f coverage.xml
49+
5250
- name: Zip binaries for release
5351
if: github.event_name == 'release'
5452
run: python scripts/zip_release.py
53+
5554
- name: Upload binaries to release
5655
if: github.event_name == 'release'
5756
uses: svenstaro/upload-release-action@v2
@@ -60,6 +59,7 @@ jobs:
6059
file_glob: true
6160
file: '*.zip'
6261
tag: ${{ github.ref }}
62+
6363
- uses: actions/setup-ruby@v1
6464
- name: Send Webhook Notification
6565
if: failure()

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ Lastly, edit this config file to your liking:
6565
* Check your [core.hooksPath](https://git-scm.com/docs/githooks) - this setting can be `--global` or by repository. Check this first.
6666
* #### The hook is having a runtime error
6767
* Please submit an issue with the terminal output you received [here](https://github.com/unthreaded/git-hooks/issues) with as much detail as possible.
68-
69-
## Development details
70-
For Mac, you must install some dependencies via brew. Simply run [`os_specific_requirements.py`](scripts/os_specific_requirements.py) and you'll be good to go!
7168

7269
## Contributing
7370
[How to contribute](./CONTRIBUTING.md)

scripts/os_specific_requirements.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)