Skip to content

Commit

Permalink
ci: consolidate set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Jul 25, 2024
1 parent 676a7be commit 95de290
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
defaults:
run:
# Ensures environment gets sourced right
shell: bash -l {0}
shell: bash -l -e {0}
name: Python (${{ matrix.PYTHON_VERSION }})
runs-on: ubuntu-latest
strategy:
Expand All @@ -25,7 +25,6 @@ jobs:

- name: Add /etc/hosts entries
run: |
set -x
sudo cp /etc/hosts /etc/hosts.save
cat .github/workflows/etchosts.txt | sudo tee -a /etc/hosts
Expand Down Expand Up @@ -57,7 +56,6 @@ jobs:
- name: Install and Test
run: |
set -e
set -x
python -m pip install . -vv --no-deps
cp pywwa_settings.json-example pywwa_settings.json
Expand All @@ -77,7 +75,6 @@ jobs:
- name: Run console scripts without database
run: |
set -x
set -e
sudo systemctl stop [email protected]
sudo cp /etc/hosts.save /etc/hosts
pywwa-parse-afos-dump --help
Expand Down

0 comments on commit 95de290

Please sign in to comment.