-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds a file to configure continuous integration with GitHub Actions. * Adds a pull request template file. * Adds an issue template file. * Updates badge for CI in README file. * Removes useless Travis configuration file. * Adjusts tests as the embargo date has been reached now. Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
- Loading branch information
Sébastien Délèze
committed
Jan 12, 2021
1 parent
754f44d
commit 2d42412
Showing
9 changed files
with
112 additions
and
85 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Default Issue template | ||
about: Create an issue to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Describe the issue** | ||
A clear and concise description of what the issue is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '…' | ||
1. Log in as '…' | ||
1. Click on '…' | ||
1. Scroll down to '…' | ||
1. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Software version** | ||
Tell us which version you're using: | ||
|
||
* from which server URL do you come from? ils.test or ilsdev? | ||
* checks the version on homepage. Do you see the version as 0.5.0 or a hash as 2493ca6? | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Why are you opening this PR? | ||
|
||
- Which task/US does it implement? | ||
- Which issue does it fix? | ||
|
||
## How to test? | ||
|
||
- What command should I have to run to test your PR? | ||
- What should I test through the UI? | ||
|
||
## Code review check list | ||
|
||
- [ ] Commit message template compliance. | ||
- [ ] Commit message without typos. | ||
- [ ] File names. | ||
- [ ] Functions names. | ||
- [ ] Functions docstrings. | ||
- [ ] Unnecessary commited files? | ||
- [ ] Extracted translations? |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: build | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
env: | ||
TERM: xterm-256color | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Libraries | ||
run: | | ||
sudo apt-get install -y libxml2 libxml2-dev libxmlsec1 libxmlsec1-dev xpdf ghostscript imagemagick | ||
sudo sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml | ||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12' | ||
|
||
- name: Docker compose up | ||
run: docker-compose up -d | ||
|
||
- name: Setup Python 3.6 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1.1.1 | ||
with: | ||
version: 1.0.10 | ||
|
||
- name: Run Bootstrap | ||
run: | | ||
poetry run ./scripts/bootstrap | ||
poetry run pip install --upgrade coveralls | ||
- name: Run Test | ||
run: poetry run ./scripts/test | ||
|
||
- name: Code Coverage | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
pip install --upgrade coveralls | ||
coveralls |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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