Skip to content

Bump bcrypt from 4.1.3 to 4.2.0 #1133

Bump bcrypt from 4.1.3 to 4.2.0

Bump bcrypt from 4.1.3 to 4.2.0 #1133

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
jobs:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 60
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "wheel>=0.36.0"
- uses: actions/cache@v2
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('**/requirements*.txt') }}
- name: Set up configs
env:
TNS_BOT_ID: ${{ secrets.TNS_BOT_ID }}
TNS_BOT_NAME: ${{ secrets.TNS_BOT_NAME }}
TNS_API_KEY: ${{ secrets.TNS_API_KEY }}
run: |
cp docker-compose.defaults.yaml docker-compose.yaml
cat << EOF >> docker.yaml
tns:
url: https://www.wis-tns.org
bot_id: $TNS_BOT_ID
bot_name: $TNS_BOT_NAME
api_key: $TNS_API_KEY
EOF
- name: Build and spin up
run: make docker_build && make docker_up
- name: Cooldown to let the app start
run: sleep 10
- name: Run tests
run: make docker_test
- name: Collect Docker Logs
uses: jwalton/[email protected]
with:
images: 'skyportal/kowalski-ingester,skyportal/kowalski-api,kowalski-mongo'
dest: './logs'
- name: Upload logs
uses: actions/upload-artifact@v2
with:
name: logs
path: ./logs