Skip to content

Commit

Permalink
Update spec files #26 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed Jul 14, 2021
1 parent 183eeeb commit 607354d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .[tests]
- name: Update spec
run: |
cd tests
lastversion brotli.spec
lastversion nginx-module-immutable.spec
if lastversion libmozjpeg.spec
exit 1
fi
rm -rf libmozjpeg.spec
- name: Build updated specs
uses: docker://getpagespeed/rpmbuilder:centos-8
- name: Lint with flake8
run: |
pip install flake8
Expand All @@ -33,11 +44,3 @@ jobs:
pytest -v -n auto
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update spec
run: |
cd tests
lastversion brotli.spec
lastversion nginx-module-immutable.spec
lastversion libmozjpeg.spec
- name: Build updated specs
uses: docker://getpagespeed/rpmbuilder:centos-8

0 comments on commit 607354d

Please sign in to comment.