update pandas #2772
Workflow file for this run
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: build | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: | | |
pip install tox==3.17.1 | |
pip install . | |
- name: Run Unit tests | |
run: tox -e py # Run tox using the version of Python in `PATH` | |
- name: Submit coverage report | |
uses: codecov/codecov-action@v1.0.7 | |
with: | |
file: code42cli/coverage.xml | |
- name: Checkout mock servers | |
uses: actions/checkout@v2 | |
with: | |
repository: code42/code42-mock-servers | |
path: code42-mock-servers | |
- name: Add mock servers host addresses | |
run: | | |
sudo tee -a /etc/hosts <<EOF | |
127.0.0.1 core | |
127.0.0.1 alerts | |
127.0.0.1 alert-rules | |
127.0.0.1 audit-log | |
127.0.0.1 file-events | |
127.0.0.1 storage | |
127.0.0.1 preservation-data-service | |
127.0.0.1 connected-server | |
127.0.0.1 cases | |
127.0.0.1 trusted-activities-service | |
EOF | |
- name: Install ncat | |
run: sudo apt-get install ncat | |
- name: Start up the mock servers | |
run: cd code42-mock-servers; docker-compose up -d --build | |
- name: Run the integration tests | |
run: sleep 15; tox -e integration |