Merge pull request #883 from mdujava/conftest_tools #2625
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: acceptance | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
- 'stable-*' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
id: setup-python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Week number | |
id: weeknum | |
run: | | |
echo "weeknum=$(/bin/date -u '+%g.%V')" >> $GITHUB_OUTPUT | |
shell: bash | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.local/share/virtualenvs | |
Pipfile.lock | |
key: ${{ runner.os }}-w${{ steps.weeknum.outputs.weeknum }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile') }} | |
- name: Install dependencies | |
run: PIPENV_VERBOSITY=-1 make fake-sync pipenv-dev | |
- name: Run acceptance check | |
run: PIPENV_VERBOSITY=-1 make -k commit-acceptance |