Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create github-actions.yml #366

Merged
merged 1 commit into from
Dec 11, 2024

Create github-actions.yml

03d6653
Select commit
Loading
Failed to load commit list.
Merged

Create github-actions.yml #366

Create github-actions.yml
03d6653
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Dec 2, 2024 in 2m 15s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the feature/githubactions_12022024 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Xenial)
Python Version 3.8
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": true,
  "services": [
    "postgresql"
  ],
  "addons": {
    "postgresql": "11",
    "apt": {
      "packages": [
        "postgresql-11",
        "postgresql-client-11"
      ]
    }
  },
  "python": [
    "3.8"
  ],
  "before_install": [
    "sudo apt-get update",
    "sudo apt-get --yes remove postgresql\\*",
    "sudo apt-get install -y postgresql-11 postgresql-client-11",
    "sudo cp /etc/postgresql/{9.6,11}/main/pg_hba.conf",
    "sudo service postgresql restart 11"
  ],
  "install": [
    "psql -p 5433 -c 'create database travis_ci_test;' -U postgres",
    "pip install --force-reinstall 'setuptools<58.0.0'",
    "pip install -r requirements.txt",
    "pip install -r requirements-toil.txt",
    "source travis_env.sh",
    "python manage.py migrate"
  ],
  "script": [
    "source travis_env.sh",
    "coverage run --source='.' manage.py test",
    "coverage report -m --fail-under=75",
    "flake8",
    "black --check ."
  ]
}