Skip to content

Bump pillow from 10.2.0 to 10.3.0 #81

Bump pillow from 10.2.0 to 10.3.0

Bump pillow from 10.2.0 to 10.3.0 #81

Workflow file for this run

name: Continuous integration
on:
push:
jobs:
test:
name: "Test the visualiser on ${{ matrix.os }}"
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
environment-file: "environment.yml"
activate-environment: visualiser-env
- name: Run Python tests
shell: bash -l {0}
run: python -O -m unittest
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/master'
steps:
- name: Update server-side repository
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd ${{ secrets.DIRECTORY }}
git pull
- name: Build Docker images
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd ${{ secrets.DIRECTORY }}
docker-compose build cysectool
- name: Ensure the containers are started
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd ${{ secrets.DIRECTORY }}
docker-compose up -d cysectool