Skip to content

More debug

More debug #22

name: Style, test, build, and publish the package
on:
push:
branches-ignore: [main]
jobs:
style-test-and-build:
name: Test, build, and publish the package
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
path: qless-py
submodules: true
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y redis-server
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
working-directory: qless-py
- name: Check style
run: |
source venv/bin/activate
make style
git diff --quiet
if [ ! $? -eq 0 ]; then
echo "make style caused file changes, failing!"
exit 1
fi
working-directory: qless-py
- name: Run tests and build package
run: |
source venv/bin/activate
make nose
python -m build
working-directory: qless-py
- name: Checkout tdg5/github-action-pack
uses: actions/checkout@v4
with:
path: .github/actions/tdg5/github-action-pack
ref: 8669fae4f0e3d86416a87c1ae70001aecdc3eb6a
repository: tdg5/github-action-pack
- name: Debug
run: |
ls -altr
ls -altr qless-py || true
- name: Increment version
uses: ./.github/actions/tdg5/github-action-pack/packages/increment-version-file-action/src
with:
authorEmail: dannyguinther@gmail.com
authorName: Danny Guinther
commitMessage: "[skip actions] Increment version for next development cycle"
repoPath: ./
versionFilePath: VERSION
versionFormat: python
- name: Check version
run: |
cat VERSION
git log -n 1
working-directory: qless-py