--- #193
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
name: ci | |
on: [ push, pull_request ] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add hosts | |
run: sudo echo "$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') redis mysql postgres clickhouse" | sudo tee -a /etc/hosts | |
- uses: actions/checkout@v2 | |
- name: Run docker-compose | |
run: docker-compose -f tests/docker-compose.yml up -d | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- name: Install and configure Poetry | |
uses: snok/[email protected] | |
with: | |
virtualenvs-create: false | |
- name: CI | |
run: make ci |