Use PyPi for xiutilities #63
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: pytest | |
on: | |
push: | |
branches: | |
- master | |
# all branches | |
- '**' | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Update and install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
gcc \ | |
g++ \ | |
make \ | |
libgnutls28-dev \ | |
libcurl4-gnutls-dev \ | |
python3-pycurl \ | |
libcurl4-openssl-dev \ | |
libssl-dev | |
- name: Install pipenv | |
uses: dschep/install-pipenv-action@v1 | |
- name: Install dependencies | |
run: | | |
pipenv install --dev | |
- name: Test with pytest | |
run: | | |
pipenv run pytest |