Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Quota delete fix

Quota delete fix #687

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- "*"
schedule:
- cron: '02 09 * * 1'
jobs:
py-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install GNU gettext
run: sudo apt install gettext
- name: Start PostgreSQL
run: |
sudo systemctl start postgresql.service
pg_isready
sudo -u postgres createuser --createdb runner
- name: Run Python tests
run: make tests-py-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
py-misc:
runs-on: ubuntu-latest
strategy:
matrix:
tox_env:
- lint
- isort
- docs
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install tox
run: pip install tox
- name: Run tox
run: tox -e ${{ matrix.tox_env }}
js-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
script:
- "karma:firefox"
- "karma:chromium"
- "jshint"
env:
MOZ_HEADLESS: 1
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: npm install
- run: CHROMIUM_BIN=$(which chrome) npx grunt ${{ matrix.script }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3