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 3ba221a commit 5820bfb
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
exit 1
fi
rm -rf libmozjpeg.spec
sudo mkdir /sources
sudo mv *.spec /sources/
- name: Build updated specs
uses: docker://getpagespeed/rpmbuilder:centos-8
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
name: brotli.spec
path: tests/brotli.spec
- name: Lint with flake8
run: |
pip install flake8
Expand All @@ -43,6 +44,16 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest -v -n auto
exit || pytest -v -n auto
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-brotli-rpm:
runs-on: ubuntu-latest
container: getpagespeed/rpmbuilder:centos-8
steps:
- name: Download a single artifact
uses: actions/download-artifact@v2
with:
name: brotli.spec
- name: Build updated specs
run: build

0 comments on commit 5820bfb

Please sign in to comment.