Skip to content

feat(italy_anac): set release ids as ocid when no ocid is present #948

feat(italy_anac): set release ids as ocid when no ocid is present

feat(italy_anac): set release ids as ocid when no ocid is present #948

Workflow file for this run

name: Lint
on: [push, pull_request]
env:
BASEDIR: https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/main
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
cache-dependency-path: '**/requirements*.txt'
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -
# Don't install editable projects in the current working directory.
# https://pip.pypa.io/en/latest/reference/pip_install/#install-src
- run: pip install --src $GITHUB_WORKSPACE/../src -r requirements_dev.txt
- env:
# scrapyd is run as a command in production. scrapyd-client is run as a command for deployment.
STANDARD_MAINTENANCE_SCRIPTS_IGNORE: scrapyd,scrapyd-client
run: pytest /tmp/test_requirements.py
- run: shasum -c requirements.txt.sha256