Skip to content

Commit

Permalink
infrastructure: Split the content and the portal code. The code for t…
Browse files Browse the repository at this point in the history
…he portal goes to a dedicated repository, cernopendata-portal
  • Loading branch information
psaiz committed Jun 25, 2024
1 parent 29e212a commit 7a8aa50
Show file tree
Hide file tree
Showing 19,106 changed files with 104 additions and 45,610 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
123 changes: 0 additions & 123 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,83 +25,6 @@ name: CI
on: [push, pull_request]

jobs:
lint-shellcheck:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Runs shell script static analysis
run: |
sudo apt-get install shellcheck
./run-tests.sh --check-shellscript
lint-black:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Check Python code formatting
run: |
pip install black
./run-tests.sh --check-black
lint-pycodestyle:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Check compliance with Python coding style conventions
run: |
pip install --upgrade pip
pip install pycodestyle
./run-tests.sh --check-pycodestyle
lint-pydocstyle:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Check compliance with Python docstring conventions
run: |
pip install --upgrade pip
pip install pydocstyle
./run-tests.sh --check-pydocstyle
lint-check-manifest:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Check Python manifest completeness
run: |
pip install --upgrade pip
pip install check-manifest
./run-tests.sh --check-manifest
check-fixtures:
runs-on: ubuntu-20.04
steps:
Expand All @@ -118,49 +41,3 @@ jobs:

- name: Check fixtures
run: ./run-tests.sh --check-fixtures

check-isort:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Check isort
run: |
pip install --upgrade pip
pip install isort
./run-tests.sh --check-isort
docker-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Lint Dockerfile
run: docker run -i --rm hadolint/hadolint:v1.18.2 < Dockerfile

- name: Create certificates
run: ./scripts/generate-localhost-certificate.sh

- name: Build docker
run: ./run-tests.sh --check-docker-build

- name: Run pytest
run: docker-compose run --rm web ./run-tests.sh --check-pytest

- name: Codecov Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Loading

0 comments on commit 7a8aa50

Please sign in to comment.