Add redis env vars to jobs #28
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: Unit tests | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: fedora:37 | |
steps: | |
- name: Install packages | |
run: dnf install -y gcc krb5-devel git | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Create venv and install dependencies | |
run: | | |
cd pyartcd | |
make venv | |
- name: Run tests | |
run: | | |
cd pyartcd | |
make test |